Updated templates

This commit is contained in:
Alejandro Celaya
2016-05-02 17:17:11 +02:00
parent 83352f0af9
commit 3e9161efb0
4 changed files with 26 additions and 130 deletions

View File

@@ -2,14 +2,19 @@
{% block title %}{{ status }} {{ reason }}{% endblock %}
{% block stylesheets %}
<style>
p {margin-bottom: 20px;}
body {text-align: center;}
</style>
{% endblock %}
{% block content %}
<h1>Oops!</h1>
<h2>This is awkward.</h2>
<hr>
<p>We encountered a {{ status }} {{ reason }} error.</p>
{% if status == 404 %}
<p>
You are looking for something that doesn't exist or may have moved. Check out one of the links on this page
or head back to <a href="{{ path('home') }}">Home</a>.
</p>
<p>This short URL doesn't seem to be valid.</p>
<p>Make sure you included all the characters, with no extra punctuation.</p>
{% endif %}
{% endblock %}