-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Give the post-index hook ability to tell soupault to completely ignor…
…e a page by setting a special variable `ignore_page`. Since it needs data to decide, also give that hook access to the completely index entry rather than just modifiable fields. However, the hook still needs to modify the `index_fields` variable: for compatibility reasons and also because it's a bad idea to let the hook modify the full index entry, since it also contains data used by soupault internally, such as the page file path and URL.
- Loading branch information
Showing
2 changed files
with
43 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters