mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-28 04:23:51 +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 }} |