posty.renderer.posty1_redirect module

class posty.renderer.posty1_redirect.Posty1RedirectRenderer(site, output_path='build')[source]

Bases: posty.renderer.base.Renderer

Renderer which creates pages to redirect old Posty1 URLs to new Posty2 URLs

Old Posty1 post URLs are in the form of: /:year/:month/:old_slug.html

Posty2 URLs are in the form of: /:year/:month/:slug/index.html

render_site()[source]