aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/includes/article_info.html
diff options
context:
space:
mode:
Diffstat (limited to 'pelican-bootstrap3/templates/includes/article_info.html')
-rw-r--r--pelican-bootstrap3/templates/includes/article_info.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/pelican-bootstrap3/templates/includes/article_info.html b/pelican-bootstrap3/templates/includes/article_info.html
new file mode 100644
index 0000000..abbf807
--- /dev/null
+++ b/pelican-bootstrap3/templates/includes/article_info.html
@@ -0,0 +1,25 @@
+<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>
+ {# Uncomment if you want the author shown #}
+ {#{% if article.author %}#}
+ {#<span class="label">By</span>#}
+ {#<a href="{{ SITEURL }}/{{ article.author.url }}"><i class="fa fa-user"></i> {{ article.author }}</a>#}
+ {#{% endif %}#}
+
+ {# Uncomment if you want to show Categories#}
+ {#<span class="label label-default">Category</span>#}
+ {#<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>#}
+
+ {% 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 -->