diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2014-05-05 09:55:26 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2014-05-05 09:55:26 +0200 |
commit | 8490780c9367dc64e2ae4cb92b29a9e59694719e (patch) | |
tree | a0b7dc04399164a37b94e7d978131eaf87b953d0 | |
parent | 85b369bb35ab4b99c83ee9db7e7a9afac17050cd (diff) |
Correction des flux rss avec accent
-rwxr-xr-x | theme/templates/tag.html | 4 | ||||
-rwxr-xr-x | theme/templates/tags.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/theme/templates/tag.html b/theme/templates/tag.html index 533ca5c..496d0e6 100755 --- a/theme/templates/tag.html +++ b/theme/templates/tag.html @@ -9,11 +9,11 @@ {% endif %} {% if TAG_FEED_RSS %} - <a href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS % tag|e|lower}}" ><img src="../theme/images/rss.png" /></a> + <a href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS % page_name|replace("tag/", "")|e|lower}}" ><img src="../theme/images/rss.png" /></a> {% endif %} {% if TAG_FEED_ATOM %} - <a href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM % tag|e|lower}}" ><img src="../theme/images/atom.png" /></a> + <a href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM % page_name|replace("tag/", "")|e|lower}}" ><img src="../theme/images/atom.png" /></a> {% endif %} {% endblock %} diff --git a/theme/templates/tags.html b/theme/templates/tags.html index 681e408..7193694 100755 --- a/theme/templates/tags.html +++ b/theme/templates/tags.html @@ -3,7 +3,7 @@ {% block title %}{{ SITENAME }} - Mots-clés{% endblock %} {% block content %} -<h2 class="page_title">Liste des mots-clés</h2> +<h2 class="page_title">Liste des mots-clefs</h2> <ul id="tag_list"> {% for tag, articles in tags %} <li><a href="{{SITEURL}}/{{tag.url}}">{{ tag }}</a> ({{ articles|count }}) |