aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/custom-sidebar.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-24 13:07:09 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-24 13:07:09 +0300
commit5c569ca60837f88d96df6429cfe687c55792b138 (patch)
tree92aea3d0eee1f77335557479cdfb1b11520e4c02 /_includes/custom-sidebar.html
parentnotes: reformat, add subtitles (diff)
downloadblog-5c569ca60837f88d96df6429cfe687c55792b138.tar.gz
blog-5c569ca60837f88d96df6429cfe687c55792b138.zip
show notes on the sidebar on some pages
Diffstat (limited to '_includes/custom-sidebar.html')
-rw-r--r--_includes/custom-sidebar.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/_includes/custom-sidebar.html b/_includes/custom-sidebar.html
new file mode 100644
index 0000000..3bd83aa
--- /dev/null
+++ b/_includes/custom-sidebar.html
@@ -0,0 +1,8 @@
+{% if page.sidebar.notes.show %}
+
+{% capture notes %}
+{% include notes.html sidebar=true %}
+{% endcapture %}
+{% include jekyll-theme/sidebar/entry.html header='Notes' content=notes %}
+
+{% endif %}