forked from github/pelican
The metadatas are now case insensitive. Removes a tags-related bug.
This commit is contained in:
parent
37474e5ccb
commit
1cd7ac0483
1 changed files with 2 additions and 2 deletions
|
|
@ -25,8 +25,8 @@ _METADATA_PROCESSORS = {
|
|||
}
|
||||
|
||||
def _process_metadata(name, value):
|
||||
if name in _METADATA_PROCESSORS:
|
||||
return _METADATA_PROCESSORS[name](value)
|
||||
if name.lower() in _METADATA_PROCESSORS:
|
||||
return _METADATA_PROCESSORS[name.lower()](value)
|
||||
return value
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue