<title> metadata tweak for pages other than the home page #53

This commit is contained in:
Chris Croome 2019-06-05 11:51:17 +01:00
parent ab75dc95fb
commit 0a8dea4717
1 changed files with 4 additions and 0 deletions

View File

@ -8,7 +8,11 @@
<meta name="description" content="{{ site.description }}" />
{% endif %}
<meta charset="UTF-8">
{% if page.layout == "home" %}
<title>{{ page.title }} &laquo; {{ site.long_title }}</title>
{% else %}
<title>{{ page.title }} &laquo; {{ site.long_title }}</title>
{% endif %}
<meta property="og:type" content="website" />
{% if page.layout == "home" %}
<meta property="og:title" content="{{ page.title }} &laquo; {{ site.long_title }}" />