Permalink
Browse files

Fix #2783 -- disable archive_rss links

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information...
Kwpolska committed May 21, 2017
1 parent 2a7faa1 commit 6ee9c6631f2bf3a5df117ff7bfc52c5308595f33
Showing with 4 additions and 6 deletions.
  1. +2 −0 CHANGES.txt
  2. +2 −6 nikola/plugins/task/archive.py
@@ -16,6 +16,8 @@ Features
Bugfixes
--------
* Disable ``archive_rss`` link handler, which was useless because no
such RSS was ever generated (Issue #2783)
* Ignore files ending wih "bak" (Issue #2740)
* Use page.tmpl by default, which is inherited from story.tmpl (Issue
#1891)
@@ -60,16 +60,12 @@ class Archive(Taxonomy):
Example:
link://archive/2013 => /archives/2013/index.html""",
'archive_atom': """Link to archive Atom path, name is the year.
'archive_atom': """Link to archive Atom path, name is the year (archive pages must be indexes).
Example:
link://archive_atom/2013 => /archives/2013/index.atom""",
'archive_rss': """Link to archive RSS path, name is the year.
Example:
link://archive_rss/2013 => /archives/2013/rss.xml""",
'archive_rss': False,
}
def set_site(self, site):

0 comments on commit 6ee9c66

Please sign in to comment.