Skip to content

Commit

Permalink
Use Null Coalescence in SEO partial
Browse files Browse the repository at this point in the history
  • Loading branch information
robdekort committed Jun 14, 2023
1 parent 7254427 commit a19fce1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/snippets/_seo.antlers.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<!-- statamic-peak-seo::snippets/_seo.antlers.html -->
{{# Page title #}}
<title>
{{ seperator = seo:title_separator ? seo:title_separator : " &#124; " }}
{{ site_name = seo:site_name ? seo:site_name : config:app:name }}
{{ seperator = seo:title_separator ?? " &#124; " }}
{{ site_name = seo:site_name ?? config:app:name }}
{{ if seo_title }}
{{ seo_title }}
{{ elseif seo:change_page_title | where('collection', {collection}) }}
Expand Down

0 comments on commit a19fce1

Please sign in to comment.