diff options
author | Daan Debie <debie.daan@gmail.com> | 2014-01-27 23:38:37 +0100 |
---|---|---|
committer | Daan Debie <debie.daan@gmail.com> | 2014-01-27 23:39:08 +0100 |
commit | fd1a4eaba46c1def74bd6905bce15c61bb326ed5 (patch) | |
tree | a768a44479fcec3e04307f4035b30a689ae6d826 /pelican-bootstrap3/templates/includes/sidebar.html | |
parent | c35cbabcaf4807b9474203a2fbd809883b08ad50 (diff) | |
download | pelican-themes-fd1a4eaba46c1def74bd6905bce15c61bb326ed5.tar.gz |
Updated pelican-bootstrap to v1.2
Diffstat (limited to 'pelican-bootstrap3/templates/includes/sidebar.html')
-rw-r--r-- | pelican-bootstrap3/templates/includes/sidebar.html | 37 |
1 files changed, 25 insertions, 12 deletions
diff --git a/pelican-bootstrap3/templates/includes/sidebar.html b/pelican-bootstrap3/templates/includes/sidebar.html index 9f712b4..ef0fc22 100644 --- a/pelican-bootstrap3/templates/includes/sidebar.html +++ b/pelican-bootstrap3/templates/includes/sidebar.html @@ -6,19 +6,23 @@ <section> <ul class="list-group list-group-flush"> {% if SOCIAL %} - <li class="list-group-item"><h4><i class="icon-home icon-large"></i>Social</h4></li> - {% for name, link in SOCIAL %} + <li class="list-group-item"><h4><i class="fa fa-home fa-lg"></i><span class="icon-label">Social</span></h4> + <ul class="list-group" id="social"> + {% for name, link in SOCIAL %} <li class="list-group-item"><a href="{{ link }}"><i - class="icon-{{ name }}-sign icon-large"></i>{{ name }} + class="fa fa-{{ name|lower|replace('+','-plus') }}-square fa-lg"></i> {{ name }} </a></li> - {% endfor %} + {% endfor %} + </ul> + </li> {% endif %} {% if DISPLAY_RECENT_POSTS_ON_SIDEBAR %} {% if RECENT_POST_COUNT is not defined %} {% set RECENT_POST_COUNT = 5 %} {% endif %} - <li class="list-group-item"><h4><i class="icon-home icon-large"></i>Recent Posts</h4></li> + <li class="list-group-item"><h4><i class="fa fa-home fa-lg"></i><span class="icon-label">Recent Posts</span></h4> + <ul class="list-group" id="recentposts"> {% for article in articles[:RECENT_POST_COUNT] %} <li class="list-group-item"> <a href="{{ SITEURL }}/{{ article.url }}"> @@ -26,31 +30,40 @@ </a> </li> {% endfor %} + </ul> + </li> {% endif %} {% if DISPLAY_CATEGORIES_ON_SIDEBAR %} - - <li class="list-group-item"><h4><i class="icon-home icon-large"></i>Categories</h4></li> + <li class="list-group-item"><a href="{{ SITEURL }}/{{ CATEGORIES_URL }}"><h4><i class="fa fa-home fa-lg"></i><span class="icon-label">Categories</span></h4></a> + <ul class="list-group" id="categories"> {% for cat, null in categories %} <li class="list-group-item"> <a href="{{ SITEURL }}/{{ cat.url }}"> - <i class="icon-folder-open icon-large"></i>{{ cat }} + <i class="fa fa-folder-open fa-lg"></i> {{ cat }} </a> </li> {% endfor %} + </li> {% endif %} {% if DISPLAY_TAGS_ON_SIDEBAR %} - <li class="list-group-item"><a href="{{ SITEURL }}/tags.html"><h4><i class="icon-tags icon-large"></i>Tags</h4></a></li> + <li class="list-group-item"><a href="{{ SITEURL }}/{{ TAGS_URL }}"><h4><i class="fa fa-tags fa-lg"></i><span class="icon-label">Tags</span></h4></a> + <ul class="list-group" id="tags"> {% for tag in tag_cloud|sort(attribute='1') %} <li class="list-group-item tag-{{ tag.1 }}"> <a href="{{ SITEURL }}/{{ tag.0.url }}"> {{ tag.0 }} </a> </li> - {% endfor %} + {% endfor %} + </ul> + </li> {% endif %} + {% include 'includes/github.html' %} + {% include 'includes/links.html' %} + </ul> </section> - {% include 'includes/github.html' %} -</aside>
\ No newline at end of file + +</aside> |