posty.post module
- class posty.post.Post(title: str, date: ~datetime.date, blurb: str, body: str, _config: ~posty.config.Config | None, slug: str = '', tags: list[str] = <factory>)[source]
Bases:
ModelRepresentation of a post
- blurb: str
- body: str
- date: date
- classmethod from_yaml(file_contents: str, config: Config | None = None) Post[source]
Returns a Post from the given file_contents
- slug: str = ''
- tags: list[str]
- title: str