I’m trying to load a sidebar based on the current section…
In my default section template I’ve tried.
{{ if isset "Section" "blog" }}
{{ partial "blog/sidebar.html" . }}
{{ end }}
{{ if isset .Data.Pages "Section" "blog" }}
{{ partial "blog/sidebar.html" . }}
{{ end }}
and a few other combinations…
Any advice?