From 3072332a1549bbdbc458c13112b6013716c5782b Mon Sep 17 00:00:00 2001 From: skami Date: Sun, 13 Feb 2011 20:22:23 +0100 Subject: Ajout d'un thème MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lightweight/templates/article.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lightweight/templates/article.html (limited to 'lightweight/templates/article.html') diff --git a/lightweight/templates/article.html b/lightweight/templates/article.html new file mode 100644 index 0000000..b4d872e --- /dev/null +++ b/lightweight/templates/article.html @@ -0,0 +1,17 @@ +{% extends "base.html" %} +{% block title %}{{ SITENAME }} - {{ article.title }}{% endblock %} + +{% block content %} +
+

{{ article.title }}

+
+

+ Posté{%if article.date %} le {% endif %}{% if article.author %} par {{ article.author }}{% endif %} dans «{{ article.category }}». + {% if articles.tags %}
Tags : {% for tag in article.tags %}{% if loop.index > 1%}, {% endif %}{{ tag }}{% endfor %}{%endif%} +

+
+
+ {{ article.content }} +
+
+{% endblock %} -- cgit