summaryrefslogtreecommitdiffstats
path: root/src/templates/page.html
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-10-14 01:22:31 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2014-10-14 01:27:05 +0200
commitd9ae9febd9668f89c8694b66d7a0323027d416b2 (patch)
tree20d40d7b9e939c90eb7cd8b09fb7f076722c3443 /src/templates/page.html
parentfd1c56a9763ab2da0edcfdfbafc51db369c3950f (diff)
downloadwebsite-d9ae9febd9668f89c8694b66d7a0323027d416b2.tar.xz
redo website using bupa, ReST, and jinja templates
Diffstat (limited to 'src/templates/page.html')
-rw-r--r--src/templates/page.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/templates/page.html b/src/templates/page.html
new file mode 100644
index 0000000..9e0dddc
--- /dev/null
+++ b/src/templates/page.html
@@ -0,0 +1,17 @@
+{% extends 'layout.html' %}
+
+{% block content %}
+ <header>
+{% include 'nav.html' %}
+ <h1>{{ page.title }}</h1>
+ </header>
+
+ <article id="{{ page.article_id }}" class="botborder" itemprop="mainContentOfPage">
+
+ {{ page.body }}
+
+ <p id="last-upd">Last updated <time itemprop="dateModified" datetime="{{ page.date }}">{{ page.date }}</time></p>
+ <p id="author"><a rel="author" href="{{ page.author_link }}">{{ page.author }}</a></p>
+
+ </article>
+{% endblock content %}