mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-22 15:21:01 +00:00
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.
This commit is contained in:
parent
a815622190
commit
b36fa0de51
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
{% block body_class %}no-sidebar{% endblock %}
|
{% 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 %}
|
{% block body_main %}
|
||||||
<header>
|
<header>
|
||||||
<menu>
|
<menu>
|
||||||
|
|
Loading…
Reference in a new issue