posty.renderer.base module

class posty.renderer.base.Renderer(site, output_path='build')[source]

Bases: object

Base class that all renderers inherit off of. Each child class must implement render_site() with their own rendering logic.

ensure_output_path()[source]

Ensure that the output directory self.output_path exists

render_site()[source]