diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-24 10:11:21 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-24 10:11:21 +0300 |
commit | 7a358a1407e8b32cd36ebd85295099340557151f (patch) | |
tree | 648939a0d34d509348b83e3c6c441c959968baf3 | |
parent | _includes: move everything to jekyll-theme/ (diff) | |
download | jekyll-theme-7a358a1407e8b32cd36ebd85295099340557151f.tar.gz jekyll-theme-7a358a1407e8b32cd36ebd85295099340557151f.zip |
_layouts: add subtitles to pages if present
-rw-r--r-- | _layouts/page.html | 2 |
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 }} |