Skip to content

Commit

Permalink
Fix READ_MORE_LINK not triggering rebuilds
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwpolska committed Nov 26, 2021
1 parent 23f1349 commit 829728f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Features
Bugfixes
--------

* Fix changes to ``INDEX_READ_MORE_LINK`` and ``FEED_READ_MORE_LINK``
not triggering rebuilds
* Make ``CATEGORY_TITLES``, ``CATEGORY_DESCRIPTIONS``, ``TAG_TITLES``,
``TAG_DESCRIPTIONS`` translatable settings for consistency (Issue #3584)
* Fix bug with posts after the first one appearing shifted due to a
Expand Down
4 changes: 4 additions & 0 deletions nikola/nikola.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,8 @@ def __init__(self, **config):
'rss_path',
'rss_filename_base',
'atom_filename_base',
'index_read_more_link',
'feed_read_more_link',
)
# WARNING: navigation_(alt_)links SHOULD NOT be added to the list above.
# Themes ask for [lang] there and we should provide it.
Expand Down Expand Up @@ -1320,6 +1322,8 @@ def _set_all_page_deps_from_config(self):
self.ALL_PAGE_DEPS['slug_author_path'] = self.config.get('SLUG_AUTHOR_PATH')
self.ALL_PAGE_DEPS['slug_tag_path'] = self.config.get('SLUG_TAG_PATH')
self.ALL_PAGE_DEPS['locale'] = self.config.get('LOCALE')
self.ALL_PAGE_DEPS['index_read_more_link'] = self.config.get('INDEX_READ_MORE_LINK')
self.ALL_PAGE_DEPS['feed_read_more_link'] = self.config.get('FEED_READ_MORE_LINK')

def _activate_plugins_of_category(self, category):
"""Activate all the plugins of a given category and return them."""
Expand Down

0 comments on commit 829728f

Please sign in to comment.