Website/layouts/partials/sidebar.html

13 lines
598 B
HTML
Raw Normal View History

2018-07-11 20:45:17 +02:00
<aside class="sidebar">
{{ partial "widgets/events.html" . }}
{{ 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>