diff options
author | m-r-r <raybaudroigm@gmail.com> | 2012-07-26 15:01:23 +0200 |
---|---|---|
committer | m-r-r <raybaudroigm@gmail.com> | 2012-07-26 15:01:23 +0200 |
commit | c55d10de9c103e2c023ef1f40f4f4c0502570e69 (patch) | |
tree | 60525471c4c5386b00f8707c4d3d060f2b31cf43 /dev-random2/templates/includes/article_meta.html | |
parent | 98f0d46f2bbddf86e8d202b533af35fa79da2d2f (diff) | |
download | pelican-themes-c55d10de9c103e2c023ef1f40f4f4c0502570e69.tar.gz |
[dev-random2] Theme upgrade
Diffstat (limited to 'dev-random2/templates/includes/article_meta.html')
-rw-r--r-- | dev-random2/templates/includes/article_meta.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-random2/templates/includes/article_meta.html b/dev-random2/templates/includes/article_meta.html new file mode 100644 index 0000000..21f4c7a --- /dev/null +++ b/dev-random2/templates/includes/article_meta.html @@ -0,0 +1,17 @@ +<!-- includes/article_meta.html --> + Le <time datetime="{{ article.date.isoformat() }}" pubdate="pubdate">{{ 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 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 -%} |