From 2a48f272f68b309b108b4cda27a862e6744c1f20 Mon Sep 17 00:00:00 2001 From: Josh Habdas Date: Thu, 2 Mar 2017 21:29:26 +0800 Subject: [PATCH] Be more explicity with title assignments --- lib/template.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/template.html b/lib/template.html index 0d0aeb8..eacff7f 100755 --- a/lib/template.html +++ b/lib/template.html @@ -9,9 +9,9 @@ {% assign seo_title = page.title | default: seo_site_title %} {% if page.title and seo_site_title %} - {% assign seo_title = seo_title | append:" | " | append: seo_site_title %} + {% assign seo_title = page.title | append:" | " | append: seo_site_title %} {% elsif site.description and seo_site_title %} - {% assign seo_title = seo_title | append:" | " | append: site.description %} + {% assign seo_title = seo_site_title | append:" | " | append: site.description %} {% endif %} {% if page.seo and page.seo.name %}