From d34500005eea8db36a342a88b8c4e6881643a73f Mon Sep 17 00:00:00 2001 From: James Ravenscroft Date: Sat, 19 Feb 2022 17:09:40 +0000 Subject: [PATCH] add listen-of type --- src/microcosm/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microcosm/__init__.py b/src/microcosm/__init__.py index aa06762..a38cd1a 100644 --- a/src/microcosm/__init__.py +++ b/src/microcosm/__init__.py @@ -310,7 +310,7 @@ def detect_entry_type(doc: dict) -> str: def capture_frontmatter_props(doc: Dict[str, Union[str, List[str]]], frontmatter: Dict[str, Union[str,List[str]]]): - keys = ['summary', 'bookmark-of', 'in-reply-to', 'repost-of', 'like-of', 'read-of', 'watch-of', 'read-status', 'rating'] + keys = ['summary', 'bookmark-of', 'in-reply-to', 'repost-of', 'like-of', 'read-of', 'watch-of', 'listen-of', 'read-status', 'rating'] keys += [f'u-{key}' for key in keys]