Add title as context and remove wrong title from templates

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

No files matched your search

+1 -3
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 %}
+1 -3
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 %}
+1 -3
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 %}