diff options
author | Gareth Pulham <garethpulham@gmail.com> | 2016-11-22 03:58:26 +0000 |
---|---|---|
committer | Gareth Pulham <garethpulham@gmail.com> | 2016-11-22 03:58:26 +0000 |
commit | b5aed478092342c0b572171764710839d6459c02 (patch) | |
tree | 9848b71f184c748ca63ee1ff4c74e61297917d70 /bootstrap2/templates/sidebar.html | |
parent | 993211cbda11ede17e3206e208490124d8f02a43 (diff) | |
download | pelican-themes-b5aed478092342c0b572171764710839d6459c02.tar.gz |
Fix bootstrap2 atom feed in sidebar
Diffstat (limited to 'bootstrap2/templates/sidebar.html')
-rw-r--r-- | bootstrap2/templates/sidebar.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bootstrap2/templates/sidebar.html b/bootstrap2/templates/sidebar.html index 84b709d..745c05e 100644 --- a/bootstrap2/templates/sidebar.html +++ b/bootstrap2/templates/sidebar.html @@ -7,7 +7,9 @@ {% endif %} {% if SOCIAL %} <li class="nav-header"><h4><i class="icon-home icon-large"></i> social</h4></li> -<li><a href="{{ SITEURL }}/{{ FEED }}" rel="alternate"><i class="icon-bookmark icon-large"></i>atom feed</a></li> +{% if FEED_ALL_ATOM %} +<li><a href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" rel="alternate"><i class="icon-bookmark icon-large"></i>atom feed</a></li> +{% endif %} {% if FEED_RSS %} <li><a href="{{ SITEURL }}/{{ FEED_RSS }}" rel="alternate"><i class="icon-bookmark icon-large"></i>rss feed</a></li> {% endif %} |