Add title as context and remove wrong title from templates

This commit is contained in:
Stephan Porada
2019-07-10 14:35:37 +02:00
parent d7de198302
commit eef9ec9b37
4 changed files with 6 additions and 12 deletions

View File

@ -1,9 +1,7 @@
{% extends "base.html.j2" %}
{% block title %}Opaque - Forbidden{% endblock %}
{% block page_content %}
<div class="page-header">
<h1>Forbidden</h1>
<p>This site is forbidden for you.</p>
</div>
{% endblock %}

View File

@ -1,9 +1,7 @@
{% extends "base.html.j2" %}
{% block title %}Opaque - Page Not Found{% endblock %}
{% block page_content %}
<div class="page-header">
<h1>Not Found</h1>
<p>Site has not been found.</p>
</div>
{% endblock %}

View File

@ -1,9 +1,7 @@
{% extends "base.html.j2" %}
{% block title %}Opaque - Internal Server Error{% endblock %}
{% block page_content %}
<div class="page-header">
<h1>Internal Server Error</h1>
<p>Internal Server Error. We are Sorry!</p>
</div>
{% endblock %}