aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/includes/sidebar.html
diff options
context:
space:
mode:
Diffstat (limited to 'pelican-bootstrap3/templates/includes/sidebar.html')
-rw-r--r--pelican-bootstrap3/templates/includes/sidebar.html11
1 files changed, 5 insertions, 6 deletions
diff --git a/pelican-bootstrap3/templates/includes/sidebar.html b/pelican-bootstrap3/templates/includes/sidebar.html
index c59b8f0..4d7e6bb 100644
--- a/pelican-bootstrap3/templates/includes/sidebar.html
+++ b/pelican-bootstrap3/templates/includes/sidebar.html
@@ -13,7 +13,7 @@
{% else %}
{% set name_sanitized = s[0]|lower|replace('+','-plus')|replace(' ','-') %}
{% endif %}
- {% if name_sanitized in ['flickr', 'slideshare', 'spotify', 'stack-overflow', 'weibo', 'line-chart'] %}
+ {% if name_sanitized in ['flickr', 'slideshare', 'spotify', 'stack-overflow', 'weibo', 'line-chart', 'home', 'user', 'users', 'envelope', 'envelope-o', 'stack-exchange', 'hacker-news'] %}
{% set iconattributes = '"fa fa-' ~ name_sanitized ~ ' fa-lg"' %}
{% else %}
{% set iconattributes = '"fa fa-' ~ name_sanitized ~ '-square fa-lg"' %}
@@ -79,18 +79,18 @@
{% if article.series %}
<li class="list-group-item"><h4><i class="fa fa-tags fa-list-ul"></i><span class="icon-label">Series</span></h4>
<ul class="list-group">
- <li class="list-group-item">
{% if article.series.previous %}
+ <li class="list-group-item">
<h5></i> Previous article</h5>
<a href="{{ SITEURL }}/{{ article.series.previous.url }}">{{ article.series.previous.title }}</a>
- {% endif %}
</li>
- <li class="list-group-item">
+ {% endif %}
{% if article.series.next %}
+ <li class="list-group-item">
<h5>Next article</h5>
<a href="{{ SITEURL }}/{{ article.series.next.url }}">{{ article.series.next.title }}</a>
- {% endif %}
</li>
+ {% endif %}
</ul>
</li>
{% endif%}
@@ -103,4 +103,3 @@
{% include 'includes/sidebar-images.html' %}
</ul>
</section>
-