Files
atlantis/server/events/templates/log.tmpl
Ross Strickland d620d5de98 Add custom templating support (#2647)
* added custom templates support

* made default templates DRY

* Change init to anonymous function.

* Initialize anonymous function inside var

* - Add flag/cfg param for custom template dir
- Add test for custom template

* Add documentation.

* Address PR comments.

Co-authored-by: Ricard Bejarano <ribejara@thousandeyes.com>
2022-11-11 09:56:33 -06:00

10 lines
124 B
Cheetah

{{ define "log" -}}
{{if .Verbose}}
<details><summary>Log</summary>
<p>
```
{{.Log}}```
</p></details>{{end}}
{{- end }}