chore: add data.json

This commit is contained in:
Jesús Pérex 2025-06-26 23:23:38 +01:00
parent 75ccaef94e
commit e0e144478b

View File

@ -38,7 +38,21 @@ Parameters:
Render **template.tera** with a record as context from the pipeline.
template.tera:
**data.json**
```json
{
"name": "Akasha",
"projects": [
{
"name": "TheProject",
"status": "active"
}
]
}
```
**template.tera***
```jinja
Hello, {{ name }}!Projects:
{% for project in projects -%}