mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
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):
|
def _process_metadata(name, value):
|
||||||
if name in _METADATA_PROCESSORS:
|
if name.lower() in _METADATA_PROCESSORS:
|
||||||
return _METADATA_PROCESSORS[name](value)
|
return _METADATA_PROCESSORS[name.lower()](value)
|
||||||
return value
|
return value
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue