mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Add the EXTRA_PATH_METADATA setting
Useful for altering static output paths when you don't want to encode extra metadata in the static file's source path.
This commit is contained in:
parent
1ca0e06a27
commit
d43dc1b9d6
3 changed files with 8 additions and 3 deletions
|
|
@ -64,6 +64,7 @@ Setting name (default value) What doe
|
|||
``'(?P<date>\d{4}-\d{2}-\d{2})_(?P<slug>.*)'``.
|
||||
`PATH_METADATA` (``''``) Like ``FILENAME_METADATA``, but parsed from a page's
|
||||
full path relative to the content source directory.
|
||||
`EXTRA_PATH_METADATA` (``{}``) Extra metadata dictionaries keyed by relative path.
|
||||
`DELETE_OUTPUT_DIRECTORY` (``False``) Delete the output directory, and **all** of its contents, before
|
||||
generating new files. This can be useful in preventing older,
|
||||
unnecessary files from persisting in your output. However, **this is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue