Skip to content

Commit

Permalink
adding to headtag template to give pages default metatitle (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarholt authored Sep 5, 2022
1 parent a648c42 commit 1e6e69d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/HeadTags.ss
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<% with $SeoPageObject %>

<title>$PageMetaTitle</title>
<% if $PageMetaTitle %>
<title>$PageMetaTitle</title>
<% else_if $Title %>
<title>$Title | $SiteConfig.Title</title>
<% end_if %>

<% if $PageMetaDescription %>
<meta name="description" content="$PageMetaDescription">
Expand Down

0 comments on commit 1e6e69d

Please sign in to comment.