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.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/pelican-bootstrap3/templates/includes/sidebar.html b/pelican-bootstrap3/templates/includes/sidebar.html
index ef6768b..35811f6 100644
--- a/pelican-bootstrap3/templates/includes/sidebar.html
+++ b/pelican-bootstrap3/templates/includes/sidebar.html
@@ -70,6 +70,30 @@
</ul>
</li>
{% endif %}
+
+ {% if DISPLAY_SERIES_ON_SIDEBAR %}
+ {% if article %}
+ {% 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 %}
+ <h5></i> Previous article</h5>
+ <a href="{{ SITEURL }}/{{ article.series.previous.url }}">{{ article.series.previous.title }}</a>
+ {% endif %}
+ </li>
+ <li class="list-group-item">
+ {% if article.series.next %}
+ <h5>Next article</h5>
+ <a href="{{ SITEURL }}/{{ article.series.next.url }}">{{ article.series.next.title }}</a>
+ {% endif %}
+ </li>
+ </ul>
+ </li>
+ {% endif%}
+ {% endif %}
+ {% endif %}
+
{% include 'includes/github.html' %}
{% include 'includes/twitter_timeline.html' %}
{% include 'includes/links.html' %}