aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Fraenkel <pnf@podsnap.com>2013-09-21 12:36:24 -0400
committerPeter Fraenkel <pnf@podsnap.com>2013-09-21 12:36:24 -0400
commita998cdaa971ecf1c7e9ecc3e4b61e71921c34524 (patch)
treee4723e8055e6801327c017b9a2858e0af65a2d4d
parent3505c594db1bc3fb3830c3682c9e889a37160514 (diff)
downloadpelican-themes-a998cdaa971ecf1c7e9ecc3e4b61e71921c34524.tar.gz
Category and tag-specific feeds
-rw-r--r--pelican-bootstrap3/templates/base.html17
1 files changed, 13 insertions, 4 deletions
diff --git a/pelican-bootstrap3/templates/base.html b/pelican-bootstrap3/templates/base.html
index ab505eb..6d7a5a0 100644
--- a/pelican-bootstrap3/templates/base.html
+++ b/pelican-bootstrap3/templates/base.html
@@ -52,13 +52,21 @@
<!-- JavaScript plugins (requires jQuery) -->
<script src="http://code.jquery.com/jquery.js"></script>
+ {% if page_name == "index" %}
{% if FEED_ALL_ATOM %}
<link href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate"
title="{{ SITENAME }} ATOM Feed"/>
{% endif %}
- {% if FEED_ALL_RSS %}
- <link href="{{ SITEURL }}/{{ FEED_ALL_RSS }}" type="application/atom+xml" rel="alternate"
- title="{{ SITENAME }} RSS Feed"/>
+ {% endif %}
+
+ {% if tag and TAG_FEED_ATOM %}
+ <link href="{{ SITEURL }}/{{ TAG_FEED_ATOM|format(tag) }}" type="application/atom+xml" rel="alternate"
+ title="{{ SITENAME }} {{ tag }} ATOM Feed"/>
+ {% endif %}
+
+ {% if category and CATEGORY_FEED_ATOM %}
+ <link href="{{ SITEURL }}/{{ CATEGORY_FEED_ATOM|format(category) }}" type="application/atom+xml" rel="alternate"
+ title="{{ SITENAME }} {{ category }} ATOM Feed"/>
{% endif %}
{% include 'includes/ga.html' %}
@@ -118,6 +126,7 @@
<!-- Enable responsive features in IE8 with Respond.js (https://github.com/scottjehl/Respond) -->
<script src="{{ SITEURL }}/theme/js/respond.min.js"></script>
+
{% include 'includes/disqus_script.html' %}
</body>
-</html> \ No newline at end of file
+</html>