summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extras/htaccess4
-rwxr-xr-xtheme/templates/base.html8
2 files changed, 8 insertions, 4 deletions
diff --git a/extras/htaccess b/extras/htaccess
index f5647b9..408c2c5 100644
--- a/extras/htaccess
+++ b/extras/htaccess
@@ -5,3 +5,7 @@ Redirect /feed/ /feed
# On n'autorise pas le parcours des répertoires
DirectoryIndex index.html /404.htm
+
+# Flux cassé depuis la maj de pelican
+Redirect /feeds/Libre.atom /feeds/libre.atom
+Redirect /feeds/Perso.atom /feeds/perso.atom
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 %}