mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
The assorted generators all use read_file() to read in the file contents and metadata. Previously, they sometimes parse additional metadata, fire off signals, and initialize a pelican.contents.Content subclass on their own. We can reduce duplicated code and increase consistency by shifting all that stuff into read_file() itself, and this commit is a step in that direction. |
||
|---|---|---|
| .. | ||
| tests | ||
| themes | ||
| tools | ||
| __init__.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 | ||