From fc5d0133e72b9f146bcc5e6998ea9162a1997409 Mon Sep 17 00:00:00 2001
From: Sébastien Dailly <sebastien@chimrod.com>
Date: Thu, 2 May 2013 22:35:20 +0200
Subject: Updated atom and rss feed broken since pelican 3.2

---
 theme/templates/base.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'theme')

diff --git a/theme/templates/base.html b/theme/templates/base.html
index 93ae32c..59e4619 100755
--- a/theme/templates/base.html
+++ b/theme/templates/base.html
@@ -8,19 +8,19 @@
   <link href="{{ SITEURL }}/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} - Flux ATOM" />
   {% if tag %}
     {% if TAG_FEED_ATOM %}
-    <link href="{{ SITEURL }}/{{ TAG_FEED_ATOM % tag|e }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} » {{ tag|e }} - Flux ATOM" />
+    <link href="{{ SITEURL }}/{{ TAG_FEED_ATOM % tag|e|lower }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} » {{ tag|e }} - Flux ATOM" />
     {% endif %}
     {% if TAG_FEED_RSS %}
-    <link href="{{ SITEURL }}/{{ TAG_FEED_RSS % tag|e }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} » {{ tag }} - Flux RSS" />
+    <link href="{{ SITEURL }}/{{ TAG_FEED_RSS % tag|e|lower }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} » {{ tag }} - Flux RSS" />
     {% endif %}
   {% endif %}
 
   {% if category  %}
     {% if CATEGORY_FEED_ATOM %}
-    <link href="{{ SITEURL }}/{{ CATEGORY_FEED_ATOM % category }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} » {{ category|e }} - Flux ATOM" />
+    <link href="{{ SITEURL }}/{{ CATEGORY_FEED_ATOM % category|lower }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} » {{ category|e }} - Flux ATOM" />
     {% endif %}
     {% if CATEGORY_FEED_RSS %}
-    <link href="{{ SITEURL }}/{{ CATEGORY_FEED_RSS % category }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} » {{ category|e }} - Flux RSS" />
+    <link href="{{ SITEURL }}/{{ CATEGORY_FEED_RSS % category|lower }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} » {{ category|e }} - Flux RSS" />
     {% endif %}
   {% endif %}
 
-- 
cgit v1.2.3