replaced SubRender mechanism with standard Jet include directives

This commit is contained in:
2026-01-17 23:01:46 -07:00
parent 4814947852
commit e77ec0d58b
5 changed files with 28 additions and 63 deletions
+3 -4
View File
@@ -49,10 +49,9 @@
<!-- RIGHT SIDEBAR -->
<div class="w-80 p-4">
{{ ctxt := . }}
{{ range sideboxes }}
{{ ctxt.SetScratch("__sidebox", .) }}
{{ ctxt.SubRender(.TemplateName) | raw }}
{{ range i, s := sideboxes }}
{{ .SetScratch("__sidebox", s) }}
{{ include s.TemplateName }}
{{ end }}
{{ if !.CurrentUser().IsAnon }}