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 -3
View File
@@ -79,9 +79,7 @@ func contained(n node) []namedNode {
}
// named skips a bound {/path} key: it is a render edge, not containment, so using
// it as a path segment would report a node under a path that does not reach it. Only
// a template's fields hold bindings — loadDir skips a dot-prefixed entry, so a
// folder's children never carry the prefix — so this one skip serves both.
// it as a path segment would report a node under a path that does not reach it.
func named(m map[string]node) []namedNode {
out := make([]namedNode, 0, len(m))
for _, name := range sortedNames(m) {