diff options
author | Tobias Schmidl <T.Schmidl@erhardt-leimer.com> | 2017-07-19 15:08:02 +0200 |
---|---|---|
committer | Tobias Schmidl <T.Schmidl@erhardt-leimer.com> | 2017-07-19 15:15:00 +0200 |
commit | 6e5e96f286a03c9972c067bb30a812bc6a3157a0 (patch) | |
tree | 5e8752dbf054e011d40a5cb62def227de0cd03d9 /Just-Read | |
parent | f0f9285a0325da5999d228e1ffa4ce9d817d0527 (diff) | |
download | pelican-themes-6e5e96f286a03c9972c067bb30a812bc6a3157a0.tar.gz |
[Just-Read] Repaired feed generation
The pelicanconf.py variable for the ATOM feed is `[FEED_ATOM](http://docs.getpelican.com/en/stable/settings.html#feed-settings)`, not `FEED`.
Diffstat (limited to 'Just-Read')
-rw-r--r-- | Just-Read/templates/base.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Just-Read/templates/base.html b/Just-Read/templates/base.html index cdb865b..bb86107 100644 --- a/Just-Read/templates/base.html +++ b/Just-Read/templates/base.html @@ -18,8 +18,9 @@ {% block scripts %} {% endblock %} - - <link href="{{ SITEURL }}/{{ FEED }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" /> + {% if FEED_ATOM %} + <link href="{{ SITEURL }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" /> + {% endif %} {% if FEED_RSS %} <link href="{{ SITEURL }}/{{ FEED_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" /> {% endif %} |