Bluesky app fork with some witchin' additions 💫

Access content of extended block properly (block.Super instead of super()) (#7026)

authored by

Dmitry Grachikov and committed by
GitHub
fec3352b bc4b4a3c

+2 -2
+2 -2
bskyweb/templates/error.html
··· 12 {# don't include the bundle on non-404 error pages #} 13 {% block head_bundle %} 14 {% if statusCode == 404 %} 15 - {{ super() }} 16 {% else %} 17 {% endif %} 18 {% endblock %} 19 20 {%- block body_all %} 21 {% if statusCode == 404 %} 22 - {{ super() }} 23 {% else %} 24 <h1>{{ statusCode }}: Server Error</h1> 25 <p>Sorry about that! Our <a href="https://bluesky.statuspage.io/">Status Page</a> might have more context.
··· 12 {# don't include the bundle on non-404 error pages #} 13 {% block head_bundle %} 14 {% if statusCode == 404 %} 15 + {{ block.Super }} 16 {% else %} 17 {% endif %} 18 {% endblock %} 19 20 {%- block body_all %} 21 {% if statusCode == 404 %} 22 + {{ block.Super }} 23 {% else %} 24 <h1>{{ statusCode }}: Server Error</h1> 25 <p>Sorry about that! Our <a href="https://bluesky.statuspage.io/">Status Page</a> might have more context.