From: early Date: Sat, 21 Dec 2024 00:55:55 +0000 (-0700) Subject: remove a bunch of prints :/ X-Git-Url: https://git.earlybird.gay/?a=commitdiff_plain;h=ac6b5071e3f81b1af687159e15f102a866c3cf63;p=today remove a bunch of prints :/ --- diff --git a/web/internal/compile/template.go b/web/internal/compile/template.go index 6b6f4c2..bf90afb 100644 --- a/web/internal/compile/template.go +++ b/web/internal/compile/template.go @@ -290,7 +290,6 @@ func replaceTemplateFields(n *html.Node) { if inTemplate && isField(token) || inAttrs && isDataAttr[i] { // special case; . is parentable but shouldn't be appended - fmt.Println("replacing token", token) if token == "." { token = "$today_parent" } else { @@ -334,9 +333,7 @@ func insertTemplateSource(lang language.Tag, subSource TemplateSource, context * raiseStack := []string{} htmltree.Walk(context.FirstChild, func(n *html.Node) (bool, error) { if raiseDepth == 0 { - fmt.Println("replace", n.Data) replaceTemplateFields(n) - fmt.Println("result", n.Data) } if n.Type == html.TextNode { // Scope up/down only when setting dot