Delete the duplicated recompile note and a miscount beside named

This commit is contained in:
2026-09-21 11:20:56 +02:00
committed by Lillem4n
parent a2074a455e
commit 67ff2b258e
3 changed files with 11 additions and 6 deletions
+1 -2
View File
@@ -85,8 +85,7 @@ func linkRefs(root map[string]node) error {
// linkTemplateRefs binds one template's references against root, refusing one that names the
// category it sits in: a category is a unit, and a reference back into it describes a draw other
// than the fields beside it. A template with no reference is left untouched, so an inline format
// that references nothing costs only the refTokens scan.
// than the fields beside it.
func linkTemplateRefs(folder []string, path, category string, t *template, root map[string]node) error {
names := refTokens(t.format)
if len(names) == 0 {