mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge 6a902f429a into c2b2def1c8
This commit is contained in:
commit
116ca17161
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ expression to be set in the ``FILENAME_METADATA`` setting. All named groups
|
|||
that are matched will be set in the metadata object. The default value for the
|
||||
``FILENAME_METADATA`` setting will only extract the date from the filename. For
|
||||
example, if you would like to extract both the date and the slug, you could set
|
||||
something like: ``'(?P<date>\d{4}-\d{2}-\d{2})_(?P<slug>.*)'``
|
||||
something like: ``'(?P<date>\d{4}-\d{2}-\d{2})_(?P<slug>.*)'``.
|
||||
|
||||
Please note that the metadata available inside your files takes precedence over
|
||||
the metadata extracted from the filename.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue