use backticks instead of nested quotes in template example (#417)

This commit is contained in:
Drake Talley 2024-09-24 13:19:24 -04:00 committed by GitHub
parent a0b6cbfeb8
commit d5208b2b21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,6 +54,6 @@ To serve a simple static response using a template, make sure to set `Content-Ty
example.com {
header Content-Type text/plain
templates
respond "Current year is: {{printf "{{"}}now | date "2006"{{printf "}}"}}"
respond `Current year is: {{printf "{{"}}now | date "2006"{{printf "}}"}}`
}
```