This commit is contained in:
Agnieszka Kraft 2017-04-20 23:00:44 +00:00 committed by GitHub
commit 116ca17161

View file

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