Set a table's path when it compiles, link a table family in one function, and label a cell from the walk

This commit is contained in:
2026-10-05 21:06:38 +02:00
committed by Lillem4n
parent 21a4ed1795
commit 8ffaa31e39
11 changed files with 88 additions and 105 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ func linkRefs(sites []categorySite, root map[string]node) error {
// linkTemplate resolves t's references in category, "" for an inline template, and
// compiles its format against them.
func linkTemplate(folder []string, path, category string, t *template, root map[string]node) error {
link, err := t.resolveLink(folder, t.site.label(path), category, root)
link, err := t.resolveLink(folder, path, category, root)
if err != nil {
return err
}