mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
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
|
|
@ -3,5 +3,8 @@ Date: 2012-10-31
|
|||
Summary:
|
||||
A multi-line summary should be supported
|
||||
as well as **inline markup**.
|
||||
custom_formatted_field:
|
||||
Multi-line metadata should also be supported
|
||||
as well as *inline markup* and stuff to "typogrify"...
|
||||
|
||||
This is some content.
|
||||
|
|
|
|||
|
|
@ -11,3 +11,6 @@ This is a super article !
|
|||
Multi-line metadata should be supported
|
||||
as well as **inline markup** and stuff to "typogrify"...
|
||||
:custom_field: http://notmyidea.org
|
||||
:custom_formatted_field:
|
||||
Multi-line metadata should also be supported
|
||||
as well as *inline markup* and stuff to "typogrify"...
|
||||
|
|
|
|||
|
|
@ -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