From 1e6e69d8611719d5013653240898c4bb86baf4a7 Mon Sep 17 00:00:00 2001 From: oscarholt <38869989+oscarholt@users.noreply.github.com> Date: Mon, 5 Sep 2022 16:05:10 +1200 Subject: [PATCH] adding to headtag template to give pages default metatitle (#11) --- templates/HeadTags.ss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/HeadTags.ss b/templates/HeadTags.ss index 5174f91..8c4e06b 100644 --- a/templates/HeadTags.ss +++ b/templates/HeadTags.ss @@ -1,6 +1,10 @@ <% with $SeoPageObject %> - $PageMetaTitle + <% if $PageMetaTitle %> + $PageMetaTitle + <% else_if $Title %> + $Title | $SiteConfig.Title + <% end_if %> <% if $PageMetaDescription %>