From 520d947079a65d678a47fe9ad405cb6ee40744e4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 25 Oct 2022 10:34:29 +0200 Subject: _layouts: sidebar separator only for posts and pages Let plain pages take care of it themselves. This fits nicely with the feed, which kinda already has a separator after each entry. --- _includes/jekyll-theme/sidebar/sep.html | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 _includes/jekyll-theme/sidebar/sep.html (limited to '_includes') diff --git a/_includes/jekyll-theme/sidebar/sep.html b/_includes/jekyll-theme/sidebar/sep.html new file mode 100644 index 0000000..4791028 --- /dev/null +++ b/_includes/jekyll-theme/sidebar/sep.html @@ -0,0 +1,4 @@ +{% unless site.settings.sidebar.hide or page.sidebar.hide %} + {% comment %}Separate the content from the sidebar on narrow screens.{% endcomment %} + +{% endunless %} -- cgit v1.2.3