diff options
author | Justin Mayer <entroP@gmail.com> | 2016-12-13 08:42:57 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-13 08:42:57 -0800 |
commit | 4430575e8fe94e2b3ce01f81555b0b3c4eefcffc (patch) | |
tree | a8c90394a3fb612b10cf2733700ec62bcd6bfc6e /bootstrap2 | |
parent | be36234f9f7fb4633d7e2eee89833839d7cbf1eb (diff) | |
parent | b5aed478092342c0b572171764710839d6459c02 (diff) | |
download | pelican-themes-4430575e8fe94e2b3ce01f81555b0b3c4eefcffc.tar.gz |
Merge pull request #454 from AbstractBeliefs/fix_sidebar
Fix bootstrap2 atom feed in sidebar
Diffstat (limited to 'bootstrap2')
-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 %} |