From 327de799c9d2d7a9ea68a3fcc94ff2a014fabe20 Mon Sep 17 00:00:00 2001 From: Rob de Kort Date: Fri, 8 Dec 2023 12:20:51 +0100 Subject: [PATCH] Prevent 500 error in Statamic v4.39.0 --- resources/views/snippets/_seo.antlers.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/snippets/_seo.antlers.html b/resources/views/snippets/_seo.antlers.html index bae1516..f2be5f2 100644 --- a/resources/views/snippets/_seo.antlers.html +++ b/resources/views/snippets/_seo.antlers.html @@ -10,8 +10,8 @@ {{ site_name = seo:site_name ?? config:app:name }} {{ if seo_title }} {{ seo_title }} - {{ elseif seo:change_page_title | where('collection', {collection}) }} - {{ seo:change_page_title | where('collection', {collection}) }} + {{ elseif seo:change_page_title | where('collection', collection) }} + {{ seo:change_page_title | where('collection', collection) }} {{ if manipulate_title == 'collection_title' }} {{ title }} {{ seperator }} {{ collection:title }} {{ seperator }} {{ site_name }} {{ elseif manipulate_title == 'custom_text' }}