diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2019-08-05 10:32:37 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2019-08-05 10:32:37 +0200 |
commit | 770ef6ab748ec6070a7eb2eec8626dc5338d6fd5 (patch) | |
tree | bec9b2ae2d62a576602c3a62f4e99a07522d3ed9 /theme/templates/base.html | |
parent | 5fbaa084647548e60f9a037096ecbb84a8c84e90 (diff) |
Switch to pelican4.1
Diffstat (limited to 'theme/templates/base.html')
-rwxr-xr-x | theme/templates/base.html | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/theme/templates/base.html b/theme/templates/base.html index 7024c58..6f44bb4 100755 --- a/theme/templates/base.html +++ b/theme/templates/base.html @@ -8,19 +8,18 @@ <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|lower }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} » {{ tag|e }} - Flux ATOM" /> + <link href="{{ SITEURL }}/{{ TAG_FEED_ATOM.format(slug = 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|lower }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} » {{ tag }} - Flux RSS" /> + <link href="{{ SITEURL }}/{{ TAG_FEED_RSS.format(slug = 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|lower }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} » {{ category|e }} - Flux ATOM" /> + <link href="{{ SITEURL }}/{{ CATEGORY_FEED_ATOM.format(slug = 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|lower }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} » {{ category|e }} - Flux RSS" /> + <link href="{{ SITEURL }}/{{ CATEGORY_FEED_RSS.format(slug = category|lower) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} » {{ category|e }} - Flux RSS" /> {% endif %} {% endif %} |