2
votes

I'm looking for a way of generating static content (SSG) in wagtail from pre-existing files. I know that there are 100% SSG blog engines (like the excellent pelican) but I'm am wondering if there is a way already exist which enables the import (and updating where appropriate) of content into a page model.

I did not really want to reinvent the wheel if there is an elegant solution already in the wild.

1

1 Answers

1
votes

Wagtail used to use Medusa for static site generation, but it is no longer maintained. The recommended package for static site generation is now wagtail-bakery. You can find it here:

https://github.com/mhnbcu/wagtailbakery

It is recommended in the documentation here: http://docs.wagtail.io/en/v1.9/reference/contrib/staticsitegen.html

Good luck!