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:
W. Trevor King 2013-06-03 15:15:53 -04:00
commit d43dc1b9d6
3 changed files with 8 additions and 3 deletions

View file

@ -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