aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-24 10:27:16 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-24 10:27:16 +0300
commit0644111257668f88dc186064c6fcf9db73c1fc38 (patch)
tree45bda01efda9b236f2f41e855bd403b22589fcbe
parent_layouts: add subtitles to pages if present (diff)
downloadjekyll-theme-0644111257668f88dc186064c6fcf9db73c1fc38.tar.gz
jekyll-theme-0644111257668f88dc186064c6fcf9db73c1fc38.zip
_i/sidebar_entry: header is optional
Diffstat (limited to '')
-rw-r--r--_includes/jekyll-theme/sidebar_entry.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/jekyll-theme/sidebar_entry.html b/_includes/jekyll-theme/sidebar_entry.html
index 761119d..972ff6f 100644
--- a/_includes/jekyll-theme/sidebar_entry.html
+++ b/_includes/jekyll-theme/sidebar_entry.html
@@ -1,4 +1,4 @@
<div class="col-xs-12 col-sm-6 col-md-12">
- <h4>{{ include.header }}</h4>
+ {% if include.header %}<h4>{{ include.header }}</h4>{% endif %}
{{ include.content }}
</div>