From 0290aee70d071b3d5db2ce14635842043763acb5 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Sun, 1 May 2016 23:53:51 -0400 Subject: create a basic theme (from bnewnet style) --- theme/templates/article.html | 48 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 theme/templates/article.html (limited to 'theme/templates/article.html') diff --git a/theme/templates/article.html b/theme/templates/article.html new file mode 100644 index 0000000..d558183 --- /dev/null +++ b/theme/templates/article.html @@ -0,0 +1,48 @@ +{% extends "base.html" %} +{% block head %} + {{ super() }} + {% for keyword in article.keywords %} + + {% endfor %} + + {% for description in article.description %} + + {% endfor %} + + {% for tag in article.tags %} + + {% endfor %} + +{% endblock %} + +{% block content %} +
+
+

+ {{ article.title }}

+ {% import 'translations.html' as translations with context %} + {{ translations.translations_for(article) }} +
+
+ + {{ article.locale_date }} + + {% if article.modified %} + + {{ article.locale_modified }} + + {% endif %} + {% if article.authors %} +
+ By {% for author in article.authors %} + {{ author }} + {% endfor %} +
+ {% endif %} +
+
+ {{ article.content }} +
+
+{% endblock %} -- cgit v1.2.3