From 5c569ca60837f88d96df6429cfe687c55792b138 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 24 Mar 2022 13:07:09 +0300 Subject: show notes on the sidebar on some pages --- _includes/custom-sidebar.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 _includes/custom-sidebar.html (limited to '_includes/custom-sidebar.html') 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 %} -- cgit v1.2.3