diff --git a/lib/template.html b/lib/template.html
index 7dfc5c3..85e9226 100644
--- a/lib/template.html
+++ b/lib/template.html
@@ -21,9 +21,9 @@
{% elsif seo_site_title %}
{% assign seo_title = seo_site_title %}
{% assign seo_page_title = seo_site_title %}
- {% if site.description %}
- {% assign seo_title = seo_title | append:" - " | append: site.description %}
- {% endif %}
+ {% if site.description %}
+ {% assign seo_title = seo_title | append:" - " | append: site.description %}
+ {% endif %}
{% endif %}
{% if seo_title %}
{% assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once %}