diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-12-30 11:39:59 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-12-30 11:39:59 +0100 |
commit | eaf1cb76b71e7656367014d0c9bd1534695dc9a4 (patch) | |
tree | 175b2c6fc4aa8e987661aa1847949042e1b0c736 | |
parent | 4a5edd1019f32bea397700d9e04b51bc7ac813cb (diff) | |
download | www-andreasbaumann-cc-eaf1cb76b71e7656367014d0c9bd1534695dc9a4.tar.gz www-andreasbaumann-cc-eaf1cb76b71e7656367014d0c9bd1534695dc9a4.tar.bz2 |
fixed category pages
-rw-r--r-- | themes/new_theme/layouts/_default/list.html | 2 | ||||
-rw-r--r-- | themes/new_theme/layouts/partials/sidebar.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/themes/new_theme/layouts/_default/list.html b/themes/new_theme/layouts/_default/list.html index 2bc036c..bca3132 100644 --- a/themes/new_theme/layouts/_default/list.html +++ b/themes/new_theme/layouts/_default/list.html @@ -2,7 +2,7 @@ {{ $section := .Section }} -{{ if and ( ne $section "blog" ) ( ne $section "" ) }} +{{ if and ( ne $section "blog" ) ( ne $section "" ) ( ne $section "categories" ) }} <div class="main-content content" role="main" itemprop="mainContentOfPage"> <article class="post"> <header class="post__header clearfix"> diff --git a/themes/new_theme/layouts/partials/sidebar.html b/themes/new_theme/layouts/partials/sidebar.html index 1147dd2..4fc8150 100644 --- a/themes/new_theme/layouts/partials/sidebar.html +++ b/themes/new_theme/layouts/partials/sidebar.html @@ -2,7 +2,7 @@ {{ partial "widgets/dataprotection.html" . }} {{ partial "widgets/elasticlunr_search.html" . }} {{ $section := .Section }} - {{ if or ( eq $section "blog" ) ( eq $section "" ) }} + {{ if or ( eq $section "blog" ) ( eq $section "" ) ( eq $section "categories" ) }} {{ partial "widgets/recent.html" . }} {{ partial "widgets/categories.html" . }} {{ partial "widgets/taglist.html" . }} |