mirror of
https://github.com/knadh/listmonk.git
synced 2025-10-03 11:56:27 +08:00
Add permanent warning to docs about Sprig functions.
This commit is contained in:
parent
2081048701
commit
78f3db7f8d
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,9 @@ A template is a re-usable HTML design that can be used across campaigns and tran
|
||||||
|
|
||||||
listmonk supports [Go template](https://pkg.go.dev/text/template) expressions that lets you create powerful, dynamic HTML templates. It also integrates 100+ useful [Sprig template functions](https://masterminds.github.io/sprig/).
|
listmonk supports [Go template](https://pkg.go.dev/text/template) expressions that lets you create powerful, dynamic HTML templates. It also integrates 100+ useful [Sprig template functions](https://masterminds.github.io/sprig/).
|
||||||
|
|
||||||
|
!!! Warning
|
||||||
|
Sprig template functions are powerful and Turing-complete, allowing programming of complex behaviour in templates. This means that it is also possible to program undesired behaviour, such as overloading memory on the host by concatenating large strings in a loop. Ensure that templating (campaigns, templates) permissions are given only to trusted users.
|
||||||
|
|
||||||
## Campaign templates
|
## Campaign templates
|
||||||
Campaign templates are used in an e-mail campaigns. These template are created and managed on the UI under `Campaigns -> Templates`, and are selected when creating new campaigns.
|
Campaign templates are used in an e-mail campaigns. These template are created and managed on the UI under `Campaigns -> Templates`, and are selected when creating new campaigns.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue