~xdavidwu/xdavidwu.link

9702a5f3d8bd5b8d9dd081053f7632d8f7c0d91f — Michael Rose 8 years ago 178f414
Fix <title> for pages without a title
1 files changed, 1 insertions(+), 3 deletions(-)

M _includes/seo.html
M _includes/seo.html => _includes/seo.html +1 -3
@@ 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 %}