diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-08-02 23:11:21 +0200 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-08-02 23:11:21 +0200 |
commit | a2d766dce88b7f7b1189df4b466ef2ac20454b8d (patch) | |
tree | 7198802d1869ae8c5c3433c93186e9b8b29597d3 /pelican-bootstrap3/templates/includes/sidebar.html | |
parent | 25394160f2621bc701bbb635fb53572a44574847 (diff) | |
download | pelican-themes-a2d766dce88b7f7b1189df4b466ef2ac20454b8d.zip pelican-themes-a2d766dce88b7f7b1189df4b466ef2ac20454b8d.tar.gz pelican-themes-a2d766dce88b7f7b1189df4b466ef2ac20454b8d.tar.bz2 |
add possibility to define links to arbitrary content on the sidebar
Diffstat (limited to 'pelican-bootstrap3/templates/includes/sidebar.html')
-rw-r--r-- | pelican-bootstrap3/templates/includes/sidebar.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pelican-bootstrap3/templates/includes/sidebar.html b/pelican-bootstrap3/templates/includes/sidebar.html index c59b8f0..b5b173f 100644 --- a/pelican-bootstrap3/templates/includes/sidebar.html +++ b/pelican-bootstrap3/templates/includes/sidebar.html @@ -4,6 +4,22 @@ <section class="well well-sm"> <ul class="list-group list-group-flush"> + {% if SIDEBARITEMS %} + {% for name, link in SIDEBARITEMS %} + <li class="list-group-item sidebar-links"> + <a href="{{ link }}"> + {{ name }} + </a> + </li> + {% endfor %} + {% endif %} + {% 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> + </li> + {% endif %} + {% if 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"> |