Website/themes/mainroad/layouts/partials/sidebar.html

11 lines
557 B
HTML
Raw Permalink Normal View History

2018-07-11 20:45:17 +02:00
<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>