From 4df407bf2a1735c5ab5d75230e66a688ed231b08 Mon Sep 17 00:00:00 2001 From: Vasudev Kamath Date: Sun, 17 Apr 2016 16:55:53 +0530 Subject: Update theme for my taste --- templates/article.html | 45 ++++++++++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 19 deletions(-) (limited to 'templates/article.html') diff --git a/templates/article.html b/templates/article.html index d558183..630323b 100644 --- a/templates/article.html +++ b/templates/article.html @@ -1,4 +1,14 @@ {% extends "base.html" %} +{% block menu %} + | Home | + {% for p in PAGES %} + | {{p.title}} | + {% endfor %} +{% endblock %} +{% block article %} +

{{ + article.title |striptags }}

+{% endblock %} {% block head %} {{ super() }} {% for keyword in article.keywords %} @@ -12,37 +22,34 @@ {% 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 }} +

Posted on {{ article.date|strftime('%b %d, %Y')}} + {% if article.authors %} By {{ article.author }} + {% endif %} + {% if article.category %} under {{ article.category }} + {% endif %} +

- {% if article.modified %} + {% if article.modified %} - {{ article.locale_modified }} + Modified on {{ article.locale_modified }} - {% endif %} - {% if article.authors %} -
- By {% for author in article.authors %} - {{ author }} - {% endfor %} -
{% endif %}
{{ article.content }}
+
{% endblock %} -- cgit v1.2.3