From 9702a5f3d8bd5b8d9dd081053f7632d8f7c0d91f Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Sun, 6 Mar 2016 21:08:27 -0500 Subject: [PATCH] Fix for pages without a title --- _includes/seo.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/_includes/seo.html b/_includes/seo.html index f665eb4..34caa2c 100644 --- a/_includes/seo.html +++ b/_includes/seo.html @@ -16,9 +16,7 @@ {% assign canonical_url = page.url | replace: "index.html", "" | prepend: site.url %} {% endif %} -{% if seo_title %} - <title>{{ seo_title }} -{% endif %} +{{ seo_title | default: site.title }} {% assign seo_description = page.description | default: page.excerpt | default: site.description %} {% if seo_description %} -- 2.43.0