aboutsummaryrefslogtreecommitdiffstats
path: root/tuxlite_tbs
diff options
context:
space:
mode:
authorfelderado <github@feld.me>2014-10-17 08:37:21 -0500
committerfelderado <github@feld.me>2014-10-17 08:37:21 -0500
commit44323739f890512932542a4a468df616e9f231e3 (patch)
tree8df837e7a7142aa0b717dd2872dcb91cf14a56ee /tuxlite_tbs
parent40ae58a07e5840ab05747bb9e544a05d5bcaeb8d (diff)
downloadpelican-themes-44323739f890512932542a4a468df616e9f231e3.zip
pelican-themes-44323739f890512932542a4a468df616e9f231e3.tar.gz
pelican-themes-44323739f890512932542a4a468df616e9f231e3.tar.bz2
Fix FEED URLs
You're supposed to prepend FEED_DOMAIN to the FEED variables according to the documentation so you can use an external feed domain. From the docs: "Since feed URLs should always be absolute..." Also, those FEED_ATOM, etc variables were bare with no / at the beginning so they were broken. You're not supposed to be putting a / at the beginning of your FEED_ variables in pelicanconf.py. From the docs: FEED_ALL_ATOM ('feeds/all.atom.xml')
Diffstat (limited to 'tuxlite_tbs')
-rw-r--r--tuxlite_tbs/templates/base.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/tuxlite_tbs/templates/base.html b/tuxlite_tbs/templates/base.html
index 866d6a5..258fe89 100644
--- a/tuxlite_tbs/templates/base.html
+++ b/tuxlite_tbs/templates/base.html
@@ -20,16 +20,16 @@
<!-- So Firefox can bookmark->"abo this site" -->
{% if FEED_ALL_ATOM %}
- <link href="{{ FEED_ALL_ATOM }}" rel="alternate" title="{{ SITENAME }}" type="application/atom+xml">
+ <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" rel="alternate" title="{{ SITENAME }}" type="application/atom+xml">
{% endif %}
{% if FEED_ATOM %}
- <link href="{{ FEED_ATOM }}" rel="alternate" title="{{ SITENAME }}" type="application/atom+xml">
+ <link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" rel="alternate" title="{{ SITENAME }}" type="application/atom+xml">
{% endif %}
{% if FEED_RSS %}
- <link href="{{ FEED_RSS }}" rel="alternate" title="{{ SITENAME }}" type="application/rss+xml">
+ <link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" rel="alternate" title="{{ SITENAME }}" type="application/rss+xml">
{% endif %}
{% if FEED_ALL_RSS %}
- <link href="{{ FEED_ALL_RSS }}" rel="alternate" title="{{ SITENAME }}" type="application/rss+xml">
+ <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" rel="alternate" title="{{ SITENAME }}" type="application/rss+xml">
{% endif %}
</head>