forked from github/pelican
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`. |
||
|---|---|---|
| .. | ||
| content | ||
| mixed_content | ||
| nested_content/maindir | ||
| output | ||
| TestPages | ||
| __init__.py | ||
| default_conf.py | ||
| support.py | ||
| test_cache.py | ||
| test_contents.py | ||
| test_generators.py | ||
| test_importer.py | ||
| test_paginator.py | ||
| test_pelican.py | ||
| test_readers.py | ||
| test_rstdirectives.py | ||
| test_settings.py | ||
| test_utils.py | ||