Closed goldfinch closed 7 months ago
be able to include custom data into nunjucks templates from JSON file
eg:
{% includeData 'data/user.json', 'data/user.json' as user %} Hello {{ firstName }} {{ lastName}} Hi {{ user.firstName }} {{ user.lastName}}
find out more: https://github.com/VincentLeung/nunjucks-includeData
be able to include custom data into nunjucks templates from JSON file
eg:
find out more: https://github.com/VincentLeung/nunjucks-includeData