diff options
author | David Robillard <d@drobilla.net> | 2014-11-21 01:12:26 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-11-21 01:12:26 -0500 |
commit | d38c4094a1aef8be93218adeefe66b20308d96e3 (patch) | |
tree | 7f1d451dd1edade63567504c67b61bbc24d7c683 /themes/lv2/templates/includes/article_info.html | |
download | lv2site-d38c4094a1aef8be93218adeefe66b20308d96e3.tar.xz |
Initial website Markdown conversion.
Diffstat (limited to 'themes/lv2/templates/includes/article_info.html')
-rw-r--r-- | themes/lv2/templates/includes/article_info.html | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/themes/lv2/templates/includes/article_info.html b/themes/lv2/templates/includes/article_info.html new file mode 100644 index 0000000..787c360 --- /dev/null +++ b/themes/lv2/templates/includes/article_info.html @@ -0,0 +1,36 @@ +<footer class="post-info"> + <span class="label label-default">Date</span> + <span class="published"> + <i class="fa fa-calendar"></i><time datetime="{{ article.date.isoformat() }}"> {{ article.locale_date }}</time> + </span> + + {% if SHOW_SERIES %} + {% if article.series %} + <span class="label label-default">Series</span> + Part {{ article.series.index}} of {{ article.series.name }} + {% endif %} + {% endif %} + + + {% if SHOW_ARTICLE_AUTHOR %} + {% if article.author %} + <span class="label label-default">By</span> + <a href="{{ SITEURL }}/{{ article.author.url }}"><i class="fa fa-user"></i> {{ article.author }}</a> + {% endif %} + {% endif %} + + {% if SHOW_ARTICLE_CATEGORY %} + <span class="label label-default">Category</span> + <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a> + {% endif %} + + {% if PDF_PROCESSOR %} + <span class="label label-default"> + <a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">PDF</a> + </span> + {% endif %} + + {% include 'includes/taglist.html' %} + {% import 'includes/translations.html' as translations with context %} + {{ translations.translations_for(article) }} +</footer><!-- /.post-info --> |