8 lines
304 B
HTML
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 }}
|