Files
upstream-watermill/docs/layouts/partials/sidebar/section-menu.html
2026-09-15 21:27:46 +05:00

8 lines
304 B
HTML

{{- with site.Menus.sidebar }}
{{ partial "sidebar/render-section-menu.html" (dict "currentPage" $ "nodes" .) }}
{{- else }}
{{- with (.Site.GetPage "section" .Section).Sections }}
{{ partial "sidebar/render-section-menu.html" (dict "currentPage" $ "nodes" .) }}
{{- end }}
{{- end }}