1
0
Fork 0
forked from github/pelican

Fix FILENAME_METADATA doc to render correctly

This commit is contained in:
jzc 2021-05-20 00:11:58 -06:00
commit c41b8abb13

View file

@ -815,7 +815,7 @@ Metadata
The default metadata you want to use for all articles and pages.
.. data:: FILENAME_METADATA = r'(?P<date>\d{4}-\d{2}-\d{2}).*'
.. data:: FILENAME_METADATA = r'(?P<date>\\d{4}-\\d{2}-\\d{2}).*'
The regexp that will be used to extract any metadata from the filename. All
named groups that are matched will be set in the metadata object. The