Skip to content

Commit

Permalink
Fix up metadata classes
Browse files Browse the repository at this point in the history
'date' processing is now done by process_metadata

This fixes #62
  • Loading branch information
sebbASF committed Jun 15, 2023
1 parent 9021162 commit ed0579f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/gfm.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ def read_source(self, source_path):
name = match.group(1).strip().lower()
if name != 'slug':
value = match.group(2).strip()
if name == 'date':
value = pelican.utils.get_date(value)
# Ensure the correct types are used
value = self.process_metadata(name, value)
metadata[name] = value
#if name != 'title':
# print 'META:', name, value
Expand Down

0 comments on commit ed0579f

Please sign in to comment.