diff --git a/app/views/partials/layouts/head/metatags.liquid b/app/views/partials/layouts/head/metatags.liquid index 915f5a4e3..6afa86a6b 100644 --- a/app/views/partials/layouts/head/metatags.liquid +++ b/app/views/partials/layouts/head/metatags.liquid @@ -13,14 +13,14 @@ {% comment %} Title {% endcomment %} -{% capture meta_title -%}{{ page.metadata.title | strip_html }}{%- endcapture -%} +{% capture meta_title -%}{% print page.metadata.title | strip_html %}{%- endcapture -%} {%- if meta_title.size > 0 -%} - {%- capture title -%}{{ meta_title }} | platformOS Docs{%- endcapture -%} + {%- capture title -%}{% print meta_title %} | platformOS Docs{%- endcapture -%} {%- else -%} - {%- capture title -%}{{ project_name }}{%- endcapture -%} + {%- capture title -%}{% print project_name %}{%- endcapture -%} {%- endif -%} -{{ title }} +{% print title %} {% graphql page_dates, slug: context.page.slug %} query get_dates($slug: String!) { @@ -40,8 +40,8 @@ query get_dates($slug: String!) { - - + + @@ -54,8 +54,8 @@ query get_dates($slug: String!) { - - + + \ No newline at end of file +