add imprint as flatpage
- add flatpages app to gnuviechadmin.settings.base.DJANGO_APPS - add imprint handling to gnuviechadmin.context_processors.navigation, remove unused about page handling - add URL 'imprint' to gnuviechadmin.urls - replace link 'about' in template base.html with 'imprint' - add templates for flatpages - add german translation for imprint and contact navigation links
This commit is contained in:
parent
cea780a9b2
commit
2b0f1f9f89
8 changed files with 35 additions and 7 deletions
1
gnuviechadmin/templates/flatpages/base.html
Normal file
1
gnuviechadmin/templates/flatpages/base.html
Normal file
|
@ -0,0 +1 @@
|
|||
{% extends "base.html" %}
|
9
gnuviechadmin/templates/flatpages/default.html
Normal file
9
gnuviechadmin/templates/flatpages/default.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
{% extends "flatpages/base.html" %}
|
||||
|
||||
{% block title %}{{ block.super }} - {{ flatpage.title }}{% endblock title %}
|
||||
|
||||
{% block page_title %}{{ flatpage.title }}{% endblock page_title %}
|
||||
|
||||
{% block content %}
|
||||
{{ flatpage.content }}
|
||||
{% endblock content %}
|
Loading…
Add table
Add a link
Reference in a new issue