aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/includes/article_info.html
diff options
context:
space:
mode:
authorDaan Debie <d.debie@thenewmotion.com>2014-08-21 18:45:11 +0200
committerDaan Debie <d.debie@thenewmotion.com>2014-08-21 18:45:11 +0200
commit352965e0445417584f6c3fb3e8fef5d87db4f37f (patch)
treedb9a4e7f5b760da37c0b506a450ca809496fbcc7 /pelican-bootstrap3/templates/includes/article_info.html
parenta928687830876af8c919606bae47195af65bc82d (diff)
downloadpelican-themes-352965e0445417584f6c3fb3e8fef5d87db4f37f.tar.gz
Updated pelican-bootstrap3 to the latest version
Diffstat (limited to 'pelican-bootstrap3/templates/includes/article_info.html')
-rw-r--r--pelican-bootstrap3/templates/includes/article_info.html18
1 files changed, 10 insertions, 8 deletions
diff --git a/pelican-bootstrap3/templates/includes/article_info.html b/pelican-bootstrap3/templates/includes/article_info.html
index abbf807..f13f4d1 100644
--- a/pelican-bootstrap3/templates/includes/article_info.html
+++ b/pelican-bootstrap3/templates/includes/article_info.html
@@ -3,15 +3,17 @@
<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 %}#}
+ {% 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 %}
- {# Uncomment if you want to show Categories#}
- {#<span class="label label-default">Category</span>#}
- {#<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>#}
+ {% 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">