Fix <title> for pages without a title

This commit is contained in:
Michael Rose 2016-03-06 21:08:27 -05:00
parent 178f414a92
commit 9702a5f3d8

View file

@ -16,9 +16,7 @@
{% assign canonical_url = page.url | replace: "index.html", "" | prepend: site.url %}
{% endif %}
{% if seo_title %}
<title>{{ seo_title }}</title>
{% endif %}
<title>{{ seo_title | default: site.title }}</title>
{% assign seo_description = page.description | default: page.excerpt | default: site.description %}
{% if seo_description %}