mirror of
https://github.com/getpelican/pelican.git
synced 2026-06-06 11:16:55 +02:00
The `PageGenerator` was building hidden pages, but was not making them available in the context. This makes it difficult for other plugins to operate on hidden pages. This patch updates `PageGenerator` to export the hidden pages it finds in the context as `hidden_pages`. It also updates the article generator to export `drafts`. |
||
|---|---|---|
| .. | ||
| tests | ||
| themes | ||
| tools | ||
| __init__.py | ||
| cache.py | ||
| contents.py | ||
| generators.py | ||
| log.py | ||
| paginator.py | ||
| readers.py | ||
| rstdirectives.py | ||
| server.py | ||
| settings.py | ||
| signals.py | ||
| urlwrappers.py | ||
| utils.py | ||
| writers.py | ||