diff options
author | Adam Garstang <adamgarstang@googlemail.com> | 2014-11-15 18:35:57 +0000 |
---|---|---|
committer | Adam Garstang <adamgarstang@googlemail.com> | 2014-11-15 18:35:57 +0000 |
commit | ca7ebe6cb0018ef523f0cd9a90814ad845e201e2 (patch) | |
tree | 6de4cb33cd20c8e6b79a538bf979ba52dddf3173 /aboutwilson | |
parent | 148a9d9c2fb3bc18e16188afd661484cb381e9f3 (diff) | |
download | pelican-themes-ca7ebe6cb0018ef523f0cd9a90814ad845e201e2.tar.gz |
Fix hard-coded feeds and feed urls in aboutwilson/templates/base.html
Diffstat (limited to 'aboutwilson')
-rw-r--r-- | aboutwilson/templates/base.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/aboutwilson/templates/base.html b/aboutwilson/templates/base.html index 26eddd8..a4423b4 100644 --- a/aboutwilson/templates/base.html +++ b/aboutwilson/templates/base.html @@ -48,7 +48,12 @@ <li><a href="{{ SITEURL }}/{{ page.url }}"><i class="fa fa-{{ page.title }} "></i> {{page.title}}</a></li> {% endfor %} {% endif %} - <li><a href="{{ SITEURL }}/feeds/rss.xml"><i class="fa fa-rss "></i> rss</a></li> + {% if FEED_ALL_ATOM %} + <li><a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml"><i class="fa fa-rss "></i> atom</a></li> + {% endif %} + {% if FEED_ALL_RSS %} + <li><a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml"><i class="fa fa-rss "></i> rss</a></li> + {% endif %} </ul> </div> <div class="col-md-3"> @@ -107,6 +112,6 @@ jQuery(document).ready(function($) { }); </script> {% include "analytics.html" %} -{% include "github.html" %} +{% include "github.html" %} </body> </html> |