aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-04-07 18:13:52 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-04-07 19:00:59 +0200
commitc852860555b89eb288c47547d967fb619a95f6fc (patch)
treee3863e27f89eeed3a5ecce9ea15a89b0a07c0ec8 /_includes
parentbump jekyll-theme (diff)
downloadblog-c852860555b89eb288c47547d967fb619a95f6fc.tar.gz
blog-c852860555b89eb288c47547d967fb619a95f6fc.zip
show "notes" on sidebar by default
Diffstat (limited to '')
-rw-r--r--_includes/custom-sidebar.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/_includes/custom-sidebar.html b/_includes/custom-sidebar.html
index f03f2cb..0aad3ac 100644
--- a/_includes/custom-sidebar.html
+++ b/_includes/custom-sidebar.html
@@ -1,8 +1,8 @@
-{% if page.sidebar.notes.show %}
+{% unless page.sidebar.notes.hide %}
{% capture notes %}
{% include notes.html sidebar=true %}
{% endcapture %}
{% include jekyll-theme/sidebar/entry.html content=notes %}
-{% endif %}
+{% endunless %}