diff --git a/src/microcosm/__init__.py b/src/microcosm/__init__.py index 5d53fcb..6f3210a 100644 --- a/src/microcosm/__init__.py +++ b/src/microcosm/__init__.py @@ -188,6 +188,7 @@ def init_frontmatter(created_at: datetime, post_type: str, name: Optional[str]=N 'CONTENT_PREFIX'), ENTITY_TYPE_PLURAL_MAP.get(post_type, post_type + "s"), created_at.strftime("%Y/%m/%d"), slug + ".md") frontmatter = { + "post_meta": ['date'], "url": url, "type": ENTITY_TYPE_PLURAL_MAP.get(post_type, post_type + "s"), "date": created_at.isoformat(sep='T'),