Skip to content

Commit

Permalink
Fix #2783 -- disable archive_rss links
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 21, 2017
1 parent 2a7faa1 commit 6ee9c66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGES.txt
Expand Up @@ -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)
Expand Down
8 changes: 2 additions & 6 deletions nikola/plugins/task/archive.py
Expand Up @@ -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):
Expand Down

0 comments on commit 6ee9c66

Please sign in to comment.