aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_includes/custom-sidebar.html4
-rw-r--r--all/index.html2
-rw-r--r--index.html2
-rw-r--r--notes/index.html3
4 files changed, 5 insertions, 6 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 %}
diff --git a/all/index.html b/all/index.html
index 3a0a88d..dbacc4a 100644
--- a/all/index.html
+++ b/all/index.html
@@ -7,7 +7,5 @@ navbar:
sidebar:
latest_posts:
hide: true
- notes:
- show: true
---
{% include jekyll-theme/categories/all.html %}
diff --git a/index.html b/index.html
index 8fc200a..5271263 100644
--- a/index.html
+++ b/index.html
@@ -8,7 +8,5 @@ navbar:
sidebar:
latest_posts:
hide: true
- notes:
- show: true
---
{% include jekyll-theme/posts/feed.html %}
diff --git a/notes/index.html b/notes/index.html
index 1351be1..8e03612 100644
--- a/notes/index.html
+++ b/notes/index.html
@@ -3,6 +3,9 @@ title: Notes
navbar:
link: Notes
priority: 3
+sidebar:
+ notes:
+ hide: true
---
{% if site.notes.size > 0 %}
<p>Style guides and best practices, not worthy of a post.</p>