diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 1 | ||||
-rw-r--r-- | templates/flatpages/default.html | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html index a394d69..9bd1339 100644 --- a/templates/base.html +++ b/templates/base.html | |||
@@ -13,6 +13,7 @@ | |||
13 | {% if user.is_staff %} | 13 | {% if user.is_staff %} |
14 | <li><a href="{% url 'admin:index' %}">Admin Area</a></li> | 14 | <li><a href="{% url 'admin:index' %}">Admin Area</a></li> |
15 | {% endif %} | 15 | {% endif %} |
16 | <li><a href="{% url 'contact:form' %}">Contact Us</a></li> | ||
16 | {% if user.is_authenticated %} | 17 | {% if user.is_authenticated %} |
17 | <li><a href="{% url 'account:profile' %}">{{ user.username }}'s profile</a></li> | 18 | <li><a href="{% url 'account:profile' %}">{{ user.username }}'s profile</a></li> |
18 | <li><a href="{% url 'auth:logout' %}">Logout ({{ user.username }})</a></li> | 19 | <li><a href="{% url 'auth:logout' %}">Logout ({{ user.username }})</a></li> |
diff --git a/templates/flatpages/default.html b/templates/flatpages/default.html new file mode 100644 index 0000000..55baf71 --- /dev/null +++ b/templates/flatpages/default.html | |||
@@ -0,0 +1,6 @@ | |||
1 | {% extends "base.html" %} | ||
2 | |||
3 | {% block title %}{{ flatpage.title }}{% endblock %} | ||
4 | {% block content %} | ||
5 | {{ flatpage.content }} | ||
6 | {% endblock %} | ||