Closed eyeseast closed 3 years ago
Sometimes I just want to turn frontmatter + content into a big blob of JSON so I can use it somewhere else (like javascript). Should be easier than managing metadata and content separately.
Nevermind, post.to_dict() exists. Apparently I thought of this years ago.
post.to_dict()
Sometimes I just want to turn frontmatter + content into a big blob of JSON so I can use it somewhere else (like javascript). Should be easier than managing metadata and content separately.