kopia lustrzana https://github.com/simonw/datasette
Fix nav display on 500 page, closes #545
rodzic
787dd427de
commit
912ce848b9
|
@ -2,8 +2,14 @@
|
||||||
|
|
||||||
{% block title %}{% if title %}{{ title }}{% else %}Error {{ status }}{% endif %}{% endblock %}
|
{% block title %}{% if title %}{{ title }}{% else %}Error {{ status }}{% endif %}{% endblock %}
|
||||||
|
|
||||||
|
{% block nav %}
|
||||||
|
<p class="crumbs">
|
||||||
|
<a href="/">home</a>
|
||||||
|
</p>
|
||||||
|
{{ super() }}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="hd"><a href="/">home</a></div>
|
|
||||||
|
|
||||||
<h1>{% if title %}{{ title }}{% else %}Error {{ status }}{% endif %}</h1>
|
<h1>{% if title %}{{ title }}{% else %}Error {{ status }}{% endif %}</h1>
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue