diff --git a/_includes/seo.html b/_includes/seo.html
index 594a5ab5d30e..5acd622c1d97 100644
--- a/_includes/seo.html
+++ b/_includes/seo.html
@@ -4,9 +4,7 @@
{%- endif -%}
{%- assign seo_url = seo_url | default: site.github.url -%}
-{% if site.title_separator %}
- {% assign title_separator = site.title_separator | default: '-' | replace: '|', '|' %}
-{% endif %}
+{% assign title_separator = site.title_separator | default: '-' | replace: '|', '|' %}
{%- if page.title -%}
{%- assign seo_title = page.title | append: " " | append: title_separator | append: " " | append: site.title -%}