diff options
Diffstat (limited to 'templates/page.html')
-rw-r--r-- | templates/page.html | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/templates/page.html b/templates/page.html index 5ceb779..b834171 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,12 +1,19 @@ {% extends "base.html" %} +{% block menu %} +| <a href="{{ SITEURL }}"> Home </a> | +{% for p in pages %} +{% if p.title != page.title %} +| <a href="{{ SITEURL }}/{{p.url}}"> {{p.title}} </a>| +{% endif %} +{% endfor %} +{% endblock %} +{% block page %} + <h1><a href={{ SITEURL }}/{{ page.url }}>{{ + page.title|striptags}} </a> </h1> +{% endblock %} {% block title %}{{ page.title }}{%endblock%} {% block content %} - <h1>{{ page.title }}</h1> - {% import 'translations.html' as translations with context %} - {{ translations.translations_for(page) }} - {{ page.content }} - {% if page.modified %} <p> Last updated: {{ page.locale_modified }} |