From 0891e0146f0dcf9e6db7ccce4376114c339fa5df Mon Sep 17 00:00:00 2001 From: Audric Schiltknecht Date: Fri, 9 May 2014 12:13:44 +0200 Subject: Import du thème 'dev-random2' pour modifications MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/includes/article_meta.html | 17 +++++++ themes/dev-urandom/templates/includes/sidebar.html | 55 ++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 themes/dev-urandom/templates/includes/article_meta.html create mode 100644 themes/dev-urandom/templates/includes/sidebar.html (limited to 'themes/dev-urandom/templates/includes') diff --git a/themes/dev-urandom/templates/includes/article_meta.html b/themes/dev-urandom/templates/includes/article_meta.html new file mode 100644 index 0000000..38b337b --- /dev/null +++ b/themes/dev-urandom/templates/includes/article_meta.html @@ -0,0 +1,17 @@ + + Le + dans «{{ article.category }}» + par {{ article.author }} + {%- if article.tags %} +
Mots-clés: + {%- for tag in article.tags %} + {% if not loop.last %}, {% endif %} + {% endfor -%} + {% endif -%} + {%- if article.translations %} +
Langues: + [{{ article.lang or DEFAULT_LANG }}] + {%- for translation in article.translations %} + {{ translation.lang }} + {% endfor -%} + {% endif -%} diff --git a/themes/dev-urandom/templates/includes/sidebar.html b/themes/dev-urandom/templates/includes/sidebar.html new file mode 100644 index 0000000..0d5d5ef --- /dev/null +++ b/themes/dev-urandom/templates/includes/sidebar.html @@ -0,0 +1,55 @@ + + + + + {% if categories %} + + {% endif %} + + + -- cgit v1.2.3-70-g09d2