Add permanent warning to docs about Sprig functions.

This commit is contained in:
Kailash Nadh 2025-06-09 22:41:08 +05:30
parent 2081048701
commit 78f3db7f8d

View file

@ -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/).
!!! 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 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.