Skip to content

Building Your Site

Once you've created the layout of your site, you can start building it.

Calling render()

Once you have your site's build file (in our case, you can generate the site by calling the site's render() method.

from import Site

app = Site()

class Page(Page):

if __name__ == '__main__':

Calling render-engine build

You can also use the CLI build command to build your site. It requires you to pass in the module and site object module:object format.

render-engine build app:app

Your site will be generated in the output folder.