hugo-theme-stack/layouts/partials/sidebar/right.html
2020-08-22 13:20:08 +02:00

8 lines
No EOL
275 B
HTML

{{ if .Site.Params.widgets.enabled }}
{{ $context := . }}
<aside class="sidebar right-sidebar sticky">
{{ range $widget := .Site.Params.widgets.enabled }}
{{ partial (printf "widget/%s" $widget) $context }}
{{ end }}
</aside>
{{ end }}