aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'theme/templates/base.html')
-rwxr-xr-xtheme/templates/base.html9
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 %}