posty.renderer.base module

class posty.renderer.base.Renderer(site: Site, output_path: str = '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() None[source]

Ensure that the output directory self.output_path exists

abstractmethod render_site() None[source]