diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-02-09 20:49:06 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-02-09 20:49:06 +0100 |
commit | a2ec58b42960ee3bb67f9375d3f2c5d1cb392286 (patch) | |
tree | b1dec0ed6b051e5597c4bb277162f12ffa29578b /themes/new_theme/layouts/partials/sidebar.html | |
parent | 8ceb5a0e726a755ac319f974833906aeac7b45d3 (diff) | |
download | www-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.html | 2 |
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" . }} |