Skip to content

Once templates

Once templates are a special kind of template that is only rendered once. This is useful if you want to generate boilerplate code for newly added parts of the model.

You can create once templates, by setting the "once": true in the template frontmatter:

{
    "forEach": "modules",
    "filename": "packages/module-{{kebabCase name}}/README.md",
    "once": true
}
---
# {{capitalCase name}}

{{{description}}}

TODO: Write documentation and remove this TODO