flowpack/mustache
composer require flowpack/mustache
Mustache template Fusion object
0.0.1
Readme excerpt
Flowpack.MustacheOpinionated Mustache templates.
TL;DR- composer require flowpack/mustache
- Inherit the Template object and set template variables as keys
-
Place a Mustache template into Packages/Sites/Your.Site/Resources/Private/Fusion/Hello/Hello.html. E.g. Hello, {{planet}}
-
Alternatively you can use it as an Eel helper, e.g. @process.params = ${Mustache.render('Hello, {{planet}}', {planet: 'Earth'})}. Useful for replacing some placeholders in content.
Read more
The same vendor provides 52 package(s).