aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-08-11 18:49:52 +0200
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-08-11 18:49:52 +0200
commitc63928f911753ad98937080c102e6485d7416850 (patch)
tree44dff3182f7321b61de7f22224ec342a543a2bf1
parenta2d766dce88b7f7b1189df4b466ef2ac20454b8d (diff)
downloadpelican-themes-c63928f911753ad98937080c102e6485d7416850.zip
pelican-themes-c63928f911753ad98937080c102e6485d7416850.tar.gz
pelican-themes-c63928f911753ad98937080c102e6485d7416850.tar.bz2
display icons in general sidebar item list
-rw-r--r--pelican-bootstrap3/templates/includes/sidebar.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/pelican-bootstrap3/templates/includes/sidebar.html b/pelican-bootstrap3/templates/includes/sidebar.html
index b5b173f..b545c7a 100644
--- a/pelican-bootstrap3/templates/includes/sidebar.html
+++ b/pelican-bootstrap3/templates/includes/sidebar.html
@@ -5,9 +5,10 @@
<section class="well well-sm">
<ul class="list-group list-group-flush">
{% if SIDEBARITEMS %}
- {% for name, link in SIDEBARITEMS %}
+ {% for name, link, icon in SIDEBARITEMS %}
<li class="list-group-item sidebar-links">
<a href="{{ link }}">
+ <i class="fa fa-{{ icon }} fa-fw"></i>
{{ name }}
</a>
</li>
@@ -16,7 +17,9 @@
{% if FEED_ALL_ATOM %}
<li class="list-group-item sidebar-links">
<a href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate">
- Feed</a>
+ <i class="fa fa-rss fa-fw"></i>
+ Feed
+ </a>
</li>
{% endif %}