From 6d86c1e6899eb4e64dbec9256d2fd59de2ecfead Mon Sep 17 00:00:00 2001 From: Mandel Olaiya Date: Wed, 17 Jun 2026 23:25:07 +0200 Subject: [PATCH] Add Open Graph fallback metadata --- mandelstudio/templates/layout.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/mandelstudio/templates/layout.html b/mandelstudio/templates/layout.html index a44fa0e..8d87b8b 100644 --- a/mandelstudio/templates/layout.html +++ b/mandelstudio/templates/layout.html @@ -31,6 +31,20 @@ {% if canonical_url %} {% endif %} +{% firstof page.seo_title self.seo_title page.title self.title shop_name as og_title %} +{% firstof page.search_description self.search_description "" as og_description %} +{% block open_graph %} +{% if og_title %} + +{% endif %} +{% if og_description %} + +{% endif %} +{% if canonical_url %} + +{% endif %} + +{% endblock %} {% for header_snippet in cookie_jar.activated_snippet_header_templates %} {% include header_snippet %}