From 5591d977998a189573e8f780a5270ab81bb56ddc Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 12 Nov 2016 02:06:41 +0100 Subject: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- templates/archive.html | 9 +++++ templates/entry.html | 26 +++++++++++++++ templates/index.html | 18 ++++++++++ templates/layout.html | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 143 insertions(+) create mode 100644 templates/archive.html create mode 100644 templates/entry.html create mode 100644 templates/index.html create mode 100644 templates/layout.html (limited to 'templates') diff --git a/templates/archive.html b/templates/archive.html new file mode 100644 index 0000000..506e899 --- /dev/null +++ b/templates/archive.html @@ -0,0 +1,9 @@ +{% extends 'layout.html' %} + +{% block content %} + +{% endblock %} diff --git a/templates/entry.html b/templates/entry.html new file mode 100644 index 0000000..25a5f25 --- /dev/null +++ b/templates/entry.html @@ -0,0 +1,26 @@ +{% extends 'layout.html' %} + +{% block content %} +
+
+

{{ entry['title'] }}

+ +
+
+ {{ content }} +
+
+{% if older and newer%} +
+ OlderNewer +
+{% elif older %} +
+ Older +
+{% elif newer %} +
+ Newer +
+{% endif %} +{% endblock %} diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..0cabcdb --- /dev/null +++ b/templates/index.html @@ -0,0 +1,18 @@ +{% extends 'layout.html' %} + +{% block content %} +
+
+

{{ entry['title'] }}

+ +
+
+ {{ content }} +
+
+{% if older %} +
+ Older +
+{% endif %} +{% endblock %} diff --git a/templates/layout.html b/templates/layout.html new file mode 100644 index 0000000..92ec496 --- /dev/null +++ b/templates/layout.html @@ -0,0 +1,90 @@ + + + + +{% block head %}{% endblock %} + + + + +
+ +
+
+{% block content %}{% endblock %} +
+ + + -- cgit v1.2.3-70-g09d2