diff options
Diffstat (limited to 'pelican-bootstrap3/templates/includes/sidebar.html')
-rw-r--r-- | pelican-bootstrap3/templates/includes/sidebar.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pelican-bootstrap3/templates/includes/sidebar.html b/pelican-bootstrap3/templates/includes/sidebar.html new file mode 100644 index 0000000..1398ac7 --- /dev/null +++ b/pelican-bootstrap3/templates/includes/sidebar.html @@ -0,0 +1,35 @@ +<aside> + <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"><a href="{{ link }}"><i + class="icon-{{ name }}-sign icon-large"></i>{{ name }} + </a></li> + {% endfor %} + {% endif %} + + {# Uncomment if you want to show Categories #} + + {# <li class="list-group-item"><h4><i class="icon-home icon-large"></i>Categories</h4></li>#} + {# {% for cat, null in categories %}#} + {# <li class="list-group-item">#} + {# <a href="{{ SITEURL }}/{{ cat.url }}">#} + {# <i class="icon-folder-open icon-large"></i>{{ cat }}#} + {# </a>#} + {# </li>#} + {# {% endfor %}#} + + <li class="list-group-item"><a href="{{ SITEURL }}/tags.html"><h4><i class="icon-tags icon-large"></i>Tags</h4></a></li> + {% 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 %} + </ul> + </section> + {% include 'includes/github.html' %} +</aside>
\ No newline at end of file |