Where to call `env.add_build_program()`?

Viewed 22

I want to add posts generated by faking, to not have manually populate my Lektor blog during themes's development.

I found this piece of functionality which - though experimental - should do everything I need: https://www.getlektor.com/docs/api/environment/add-build-program/

The question is where should I put it? Is a plugin good place for it?

0 Answers
Related