diff --git a/docs/sources/alerting/fundamentals/notifications/templates.md b/docs/sources/alerting/fundamentals/notifications/templates.md index c0461d62b2c..d0ac6b2775b 100644 --- a/docs/sources/alerting/fundamentals/notifications/templates.md +++ b/docs/sources/alerting/fundamentals/notifications/templates.md @@ -131,7 +131,7 @@ Notification templates represent the alternative approach to templating designed Here is an example of a notification template: ```go -{ define "alerts.message" -}} +{{ define "alerts.message" -}} {{ if .Alerts.Firing -}} {{ len .Alerts.Firing }} firing alert(s) {{ template "alerts.summarize" .Alerts.Firing }}