From e78dd2f6212bfbd293b98e4278ead77d5ab70984 Mon Sep 17 00:00:00 2001 From: Vincent Douillet Date: Sat, 4 Sep 2021 21:38:06 +0200 Subject: Initial commit --- templates/article.html | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 templates/article.html (limited to 'templates/article.html') diff --git a/templates/article.html b/templates/article.html new file mode 100644 index 0000000..0ecb737 --- /dev/null +++ b/templates/article.html @@ -0,0 +1,60 @@ +{% extends "base.html" %} +{% block html_lang %}{{ article.lang }}{% endblock %} + +{% block title %}{{ SITENAME }} - {{ article.title }}{% endblock %} + +{% block head %} + {{ super() }} + + {% import 'translations.html' as translations with context %} + {% if translations.entry_hreflang(article) %} + {{ translations.entry_hreflang(article) }} + {% endif %} + + {% if article.description %} + + {% endif %} + + {% for tag in article.tags %} + + {% endfor %} + +{% endblock %} + +{% block content %} +
+
+

+ {{ article.title }}

+ {% import 'translations.html' as translations with context %} + {{ translations.translations_for(article) }} +
+
+ Publié le + + {% if article.modified %} + et modifié le + + {% endif %} + {% if article.category %} + dans la catégorie {{ article.category }} + {% endif %} + {% if article.tags %} +
+ Tags: + {% for tag in article.tags %} + {{ tag }} + {% endfor %} +
+ {% endif %} +
+
+ {{ article.content }} +
+
+{% endblock %} -- cgit v1.2.3