Merge pull request #2878 from jzc/filename-metadata-typo

Fix FILENAME_METADATA doc to render correctly
This commit is contained in:
Justin Mayer 2021-06-12 08:45:58 -05:00 committed by GitHub
commit c10792c679
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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