From 4afb428ca069605c0527f5a0e39fcae8e19cec69 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 23 Mar 2022 09:59:51 +0300 Subject: sidebar: add ability to hide it --- _includes/common/sidebar.html | 2 ++ feed/index.html | 2 ++ 2 files changed, 4 insertions(+) diff --git a/_includes/common/sidebar.html b/_includes/common/sidebar.html index 113d171..43b25dd 100644 --- a/_includes/common/sidebar.html +++ b/_includes/common/sidebar.html @@ -1,3 +1,4 @@ +{% unless site.settings.sidebar.hide or page.sidebar.hide %}

About

@@ -37,3 +38,4 @@
{% endif %}
+{% endunless %} diff --git a/feed/index.html b/feed/index.html index 3660a51..7227bab 100644 --- a/feed/index.html +++ b/feed/index.html @@ -5,5 +5,7 @@ navbar: link: true priority: 2 paginated: true +sidebar: + hide: true --- {% include posts/feed.html %} -- cgit v1.2.3