summaryrefslogtreecommitdiff
path: root/themes/new_theme/layouts/partials/sidebar.html
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-02-09 20:49:06 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2017-02-09 20:49:06 +0100
commita2ec58b42960ee3bb67f9375d3f2c5d1cb392286 (patch)
treeb1dec0ed6b051e5597c4bb277162f12ffa29578b /themes/new_theme/layouts/partials/sidebar.html
parent8ceb5a0e726a755ac319f974833906aeac7b45d3 (diff)
downloadwww-andreasbaumann-cc-a2ec58b42960ee3bb67f9375d3f2c5d1cb392286.tar.gz
www-andreasbaumann-cc-a2ec58b42960ee3bb67f9375d3f2c5d1cb392286.tar.bz2
some sidebar fixes for category views
Diffstat (limited to 'themes/new_theme/layouts/partials/sidebar.html')
-rw-r--r--themes/new_theme/layouts/partials/sidebar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/new_theme/layouts/partials/sidebar.html b/themes/new_theme/layouts/partials/sidebar.html
index 0179264..b621bb2 100644
--- a/themes/new_theme/layouts/partials/sidebar.html
+++ b/themes/new_theme/layouts/partials/sidebar.html
@@ -1,7 +1,7 @@
<aside class="sidebar" itemscope="itemscope" itemtype="http://schema.org/WPSideBar">
{{ partial "widgets/search.html" . }}
{{ $section := .Section }}
- {{ if eq $section "blog" }}
+ {{ if or ( eq $section "blog" ) ( eq $section "" ) }}
{{ partial "widgets/recent.html" . }}
{{ partial "widgets/categories.html" . }}
{{ partial "widgets/taglist.html" . }}