aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-24 10:11:21 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-24 10:11:21 +0300
commit7a358a1407e8b32cd36ebd85295099340557151f (patch)
tree648939a0d34d509348b83e3c6c441c959968baf3
parent_includes: move everything to jekyll-theme/ (diff)
downloadjekyll-theme-7a358a1407e8b32cd36ebd85295099340557151f.tar.gz
jekyll-theme-7a358a1407e8b32cd36ebd85295099340557151f.zip
_layouts: add subtitles to pages if present
-rw-r--r--_layouts/page.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_layouts/page.html b/_layouts/page.html
index 090100f..48cffb2 100644
--- a/_layouts/page.html
+++ b/_layouts/page.html
@@ -1,6 +1,6 @@
---
layout: default
---
-<h1>{{ page.title }}</h1>
+<h1>{{ page.title }}{% if page.subtitle %} <small>{{ page.subtitle }}</small>{% endif %}</h1>
<hr/>
{{ content }}