diff options
author | Audric Schiltknecht <storm@chemicalstorm.org> | 2014-05-09 12:13:44 +0200 |
---|---|---|
committer | Audric Schiltknecht <storm@chemicalstorm.org> | 2014-06-04 22:31:18 +0200 |
commit | 0891e0146f0dcf9e6db7ccce4376114c339fa5df (patch) | |
tree | f9981617b5fea1e0ac993a6fbe008e1cebfa7941 /themes/dev-urandom/templates/includes/article_meta.html | |
parent | c710c428dad250a091f7decb0cb31928b0d25339 (diff) | |
download | schiltknecht.org-0891e0146f0dcf9e6db7ccce4376114c339fa5df.tar.gz schiltknecht.org-0891e0146f0dcf9e6db7ccce4376114c339fa5df.tar.bz2 schiltknecht.org-0891e0146f0dcf9e6db7ccce4376114c339fa5df.zip |
Import du thème 'dev-random2' pour modifications
Diffstat (limited to 'themes/dev-urandom/templates/includes/article_meta.html')
-rw-r--r-- | themes/dev-urandom/templates/includes/article_meta.html | 17 |
1 files changed, 17 insertions, 0 deletions
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 @@ +<!-- includes/article_meta.html --> + Le <time datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time> + dans «<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>» + par <a href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a> + {%- if article.tags %} + <br />Mots-clés: + {%- for tag in article.tags %} + <a rel="tag" href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% if not loop.last %}, {% endif %} + {% endfor -%} + {% endif -%} + {%- if article.translations %} + <br />Langues: + [<a href="{{ SITEURL }}/{{ article.url }}">{{ article.lang or DEFAULT_LANG }}</a>] + {%- for translation in article.translations %} + <a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a> + {% endfor -%} + {% endif -%} |