Skip to content

Commit

Permalink
Don’t rebuild Atom files unnecessarily often
Browse files Browse the repository at this point in the history
The corresponding index file was a poor indicator for feed file
freshness. Rely on the posts themselves instead.
  • Loading branch information
da2x committed Jul 27, 2015
1 parent 0de18d4 commit c7d6486
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.txt
Expand Up @@ -12,6 +12,7 @@ Features
Bugfixes
--------

* Don’t rebuild Atom syndication files unnecessarily often
* Include .php files in sitemaps
* Retry all client errors (4xx) to HEAD as GET reques when checking remote links
* Graceful fallback in ``nikola serve --detach`` on Windows (Issue #1913)
Expand Down
2 changes: 1 addition & 1 deletion nikola/nikola.py
Expand Up @@ -1900,8 +1900,8 @@ def generic_index_renderer(self, lang, posts, indexes_title, template_name, cont
context["feedpagecount"] = num_pages
atom_task = {
"basename": basename,
"file_dep": [output_name],
"name": atom_output_name,
"file_dep": sorted([_.base_path for _ in post_list]),
"targets": [atom_output_name],
"actions": [(self.atom_feed_renderer,
(lang,
Expand Down

0 comments on commit c7d6486

Please sign in to comment.