diff --git a/src/docs/markdown/caddyfile/directives/import.md b/src/docs/markdown/caddyfile/directives/import.md index 044eb0b..c0e8e62 100644 --- a/src/docs/markdown/caddyfile/directives/import.md +++ b/src/docs/markdown/caddyfile/directives/import.md @@ -35,8 +35,8 @@ import [] [{block}] Note that prior to v2.7.0, the syntax was `{args.N}` but this form was deprecated in favor of the more flexible syntax above. ⚠️ Experimental | v2.9.x+ -- **{block...}** is an optional block to pass to the imported tokens. This placeholder is a special case, and is evaluated recursively at Caddyfile-parse-time, not at runtime. They can be used in two forms: - - `{block}` where the content of provided block will be substituted for the placeholder. +- **{block}** is an optional block to pass to the imported tokens. This placeholder is a special case, and is evaluated recursively at Caddyfile-parse-time, not at runtime. They can be used in two forms: + - `{block}` where the content of the whole provided block will be substituted for the placeholder - `{blocks.key}` where `key` is the first token of a parameter within the provided block @@ -125,8 +125,8 @@ Import a snippet which provides extendable options for a reverse proxy: ```caddy (extendable-proxy) { reverse_proxy { - {block.proxy_target} - {block.proxy_options} + {blocks.proxy_target} + {blocks.proxy_options} } }