From b944832d593683e54c216d23bb493b302b521e29 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 18 Oct 2014 14:14:30 +0200 Subject: convert root page to reST like ~kyrias/ --- src/templates/layout.html | 33 +++++++++++++++++++++++++++++++++ src/templates/page.html | 12 ++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 src/templates/layout.html create mode 100644 src/templates/page.html (limited to 'src/templates') diff --git a/src/templates/layout.html b/src/templates/layout.html new file mode 100644 index 0000000..22625f5 --- /dev/null +++ b/src/templates/layout.html @@ -0,0 +1,33 @@ + + + + + {{ title }} + + + + +{% block head %}{% endblock %} + + +
+ +

{{ header }}

+
+ +{% block content %}{% endblock %} + + + diff --git a/src/templates/page.html b/src/templates/page.html new file mode 100644 index 0000000..3c5d29a --- /dev/null +++ b/src/templates/page.html @@ -0,0 +1,12 @@ +{% extends 'layout.html' %} + +{% block content %} +
+ + {{ page.body }} + +

Last updated

+

+ +
+{% endblock content %} -- cgit v1.2.3-70-g09d2