theme/templates/page.html

changeset 36
9507107a1133
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/theme/templates/page.html	Sat Mar 12 17:37:27 2016 +0100
@@ -0,0 +1,23 @@
+{% extends "base.html" %}
+{% block title %}{{ page.title }}{%endblock%}
+
+{% block pageheader %}
+<div class="hp-header-inner">
+    <div class="page-header">
+        <div class="content-header">
+            <div id="title-block">
+            <h1>{{ page.title }}</h1>
+            </div>
+        </div>
+    </div>
+</div>
+{% endblock %}
+
+{% block content %}
+    <section class="article">
+    {% import 'translations.html' as translations with context %}
+    {{ translations.translations_for(page) }}
+
+    {{ page.content }}
+    </section>
+{% endblock %}

mercurial