Hi, I want to create some HTML pages for users via ExecuteAsTemplate
automatically, so that users do not need to create those pages. Is it possible to apply layouts/_default/baseof.html
for those pages? Or is there a way to reuse the layouts/_default/baseof.html
?
- I’ve defined a template under
assets
folder. - And then
ExecuteAsTemplate
that template. - I want to render the template with
layouts/_default/baseof.html
and others partials, but those layouts and partials require the Page variables, this is the hardest problem for me, it there a way create a cutom page at build stage, and then pass it toExecuteAsTemplate
?