From b2618e9404b84cc62d4becb02436233a0d53b375 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 25 Nov 2015 22:45:43 +0100 Subject: Rfactorization. Just a start... --- web/templates/article.html | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 web/templates/article.html (limited to 'web/templates/article.html') diff --git a/web/templates/article.html b/web/templates/article.html new file mode 100644 index 00000000..b1f950b4 --- /dev/null +++ b/web/templates/article.html @@ -0,0 +1,45 @@ +{% extends "layout.html" %} +{% block content %} +
+
+

{{ article.title|safe }}

+

{{ _('from') }} {{ article.source.title }}

+ + {% if article.like %} + + {% else %} + + {% endif %} + {% if article.readed %} + + {% else %} + + {% endif %} +
{{ article.date | datetime }}
+
+
+ {{ article.content | safe }} +
+
+
+
+ {{ _('Next post:') }} {{ next_article.title }} +
+
+ {{ _('Previous post:') }} {{ previous_article.title }} +
+
+
+ +
+{% endblock %} -- cgit