mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-12-18 03:17:49 +01:00
8 lines
No EOL
275 B
HTML
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 }} |