From d5208b2b2159d5932397372e871a855ca9ecf267 Mon Sep 17 00:00:00 2001 From: Drake Talley Date: Tue, 24 Sep 2024 13:19:24 -0400 Subject: [PATCH] use backticks instead of nested quotes in template example (#417) --- src/docs/markdown/caddyfile/directives/templates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/markdown/caddyfile/directives/templates.md b/src/docs/markdown/caddyfile/directives/templates.md index c640829..c0f60fe 100644 --- a/src/docs/markdown/caddyfile/directives/templates.md +++ b/src/docs/markdown/caddyfile/directives/templates.md @@ -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 "}}"}}` } ```