mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 Add a template function getHPathByID https://github.com/siyuan-note/siyuan/issues/11734
This commit is contained in:
parent
3cd7d9fd3e
commit
0ff99f758a
3 changed files with 19 additions and 8 deletions
|
|
@ -404,7 +404,7 @@ func RenderTemplateCol(ial map[string]string, rowValues []*av.KeyValues, tplCont
|
|||
}
|
||||
|
||||
goTpl := template.New("").Delims(".action{", "}")
|
||||
tplFuncMap := util.BuiltInTemplateFuncs()
|
||||
tplFuncMap := treenode.BuiltInTemplateFuncs()
|
||||
SQLTemplateFuncs(&tplFuncMap)
|
||||
goTpl = goTpl.Funcs(tplFuncMap)
|
||||
tpl, err := goTpl.Parse(tplContent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue