posty.page module

class posty.page.Page(payload, config=None)[source]

Bases: posty.model.Model

Representation of a page

classmethod from_yaml(file_contents, config=None)[source]

Return a Page from the given file_contents

path_on_disk()[source]
to_yaml()[source]

Returns a string of the YAML and text representation of this Post. This is the reverse of from_yaml

url()[source]
validate()[source]