From b36fa0de5170a316ba2f80578fda5c2e3fb4f43a Mon Sep 17 00:00:00 2001 From: Corry Haines Date: Mon, 26 Dec 2022 14:29:52 -0800 Subject: [PATCH] Disable opengraph block in base_plain.html (#279) Since error pages lack the normal context, remove the block so it doesn't obscure errors with spew. --- templates/base_plain.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/base_plain.html b/templates/base_plain.html index ba15b26..e7d80fa 100644 --- a/templates/base_plain.html +++ b/templates/base_plain.html @@ -2,6 +2,10 @@ {% block body_class %}no-sidebar{% endblock %} +{% block opengraph %} + {# Error pages don't have the context loaded, so disable opengraph to keep it from spewing errors #} +{% endblock %} + {% block body_main %}