From 94bc69b7ddbe104a95e53c60d5eeeb7bad409fcf Mon Sep 17 00:00:00 2001 From: Drake Date: Tue, 24 Sep 2024 09:17:51 -0400 Subject: [PATCH] use backticks instead of nested quotes in template example --- 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 "}}"}}` } ```