Add a bit more instructions

This commit is contained in:
Mikko Ahlroth 2023-02-27 19:10:38 +02:00
parent c2117bc6ff
commit cfbe866325

View file

@ -43,6 +43,10 @@ Since Gleam has no metaprogramming, the parsing of templates needs to be done at
whenever deemed necessary when templates have changed). The resulting AST should be stored for
later use in e.g. ETS, process state, persistent_term…
Glemplate does not offer any tooling for reading templates currently. You will need to use
whatever method appropriate for your situation: reading from files, compiling the strings in the
app, reading from a database…
## Limitations
- Static values in templates in place of variables aren't supported.