Website/themes/mainroad/layouts/partials/sidebar.html
2018-07-11 20:45:17 +02:00

11 lines
No EOL
557 B
HTML

<aside class="sidebar">
{{ partial "widgets/search.html" . }}
{{ partial "widgets/recent.html" . }}
{{ partial "widgets/categories.html" . }}
{{ partial "widgets/social.html" . }}
{{ partial "widgets/taglist.html" . }}
{{- if and (not .Site.Params.widgets.search) (not .Site.Params.widgets.recent_articles) (not .Site.Params.widgets.categories) (not .Site.Params.widgets.social) (not .Site.Params.widgets.taglist) }}
<p class="sidebar__warning"><strong>{{ T "sidebar_warning" }}:</strong><br>{{ T "sidebar_recommendation" }}</p>
{{- end }}
</aside>