Hugo-theme-stack/layouts/partials/sidebar/right.html

8 lines
275 B
HTML
Raw Normal View History

2020-08-22 07:20:08 -04:00
{{ 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 }}