{% assign title_separator = site.title_separator | default: '-' | replace: '|', '|' %} {%- if page.title -%} {%- assign seo_title = page.title | append: " " | append: title_separator | append: " " | append: site.title -%} {%- endif -%} {%- if seo_title -%} {%- assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once -%} {%- endif -%}