Simplify handler contexts, template and style tweaks
This commit is contained in:
parent
75f50d6ed1
commit
940aadb6e5
14 changed files with 176 additions and 110 deletions
|
|
@ -4,15 +4,15 @@
|
|||
<h1>
|
||||
{{ title | default(value="Unknown error") }}
|
||||
</h1>
|
||||
{{ message | default(value="Unexpected error") | linebreaksbr | safe }}
|
||||
{% if config.error_poem %}
|
||||
{{ message | default(value="No message provided.") | linebreaksbr | safe }}
|
||||
{% if graph.meta.config.error_poem %}
|
||||
<hr>
|
||||
<div id="error-poem">
|
||||
<em>
|
||||
fallen<br/>
|
||||
out of the circle<br/>
|
||||
you are welcome to climb<br/>
|
||||
back onto the {% if config.tree %}<a href="/tree">tree</a>{% else %}tree{% endif %}
|
||||
back onto the {% if graph.meta.config.tree %}<a href="/tree">tree</a>{% else %}tree{% endif %}
|
||||
</em>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue