diff options
-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" . }} |