diff options
author | Valentin Popov <info@valentineus.link> | 2020-01-24 10:15:32 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-01-24 10:15:32 +0300 |
commit | 1e499a7583757b7bd3335ad8df6f6bc3050e5a47 (patch) | |
tree | fbd57706dc7f1a31e60d97b03568edd83c7b04e0 | |
parent | d05dfb5fbc9603491643a41a47ff9463bf2fda4e (diff) | |
download | popov.link-1e499a7583757b7bd3335ad8df6f6bc3050e5a47.tar.xz popov.link-1e499a7583757b7bd3335ad8df6f6bc3050e5a47.zip |
Fixed headers title
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | _layouts/post.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index edbc5b7..9aedb0b 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -7,13 +7,13 @@ layout: default <span>Published</span> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: '%Y-%m-%d' | strip | normalize_whitespace | xml_escape }}</time> <span>on</span> - <a href="{{ site.url | absolute_url | uri_escape }}" target="_self">{{ site.title | strip | normalize_whitespace | xml_escape }}</a> + <a href="{{ site.url | absolute_url | uri_escape }}" target="_self">{{ page.title | default: site.title | strip | normalize_whitespace | xml_escape }}</a> <span>|</span> <a href="{{ page.url | absolute_url | uri_escape }}" target="_blank">Permalink</a> </small> <header> - <h1>{{ site.title | strip | normalize_whitespace | xml_escape }}</h1> + <h1>{{ page.title | default: site.title | strip | normalize_whitespace | xml_escape }}</h1> </header> {{ content }} |