forked from github/pelican
Format custom metadata fields listed in the FORMATTED_FIELDS setting.
Adding FORMATTED_FIELDS to the default settings with ['summary'] as the default value.
This commit is contained in:
parent
39f5762ae4
commit
d0afaa5fbe
6 changed files with 18 additions and 3 deletions
|
|
@ -39,6 +39,9 @@ STATIC_PATHS = [
|
|||
'extra/robots.txt',
|
||||
]
|
||||
|
||||
FORMATTED_FIELDS = ['summary', 'custom_formatted_field']
|
||||
|
||||
# foobar will not be used, because it's not in caps. All configuration keys
|
||||
# have to be in caps
|
||||
foobar = "barbaz"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue