diff --git a/modules/caddyhttp/templates/templates.go b/modules/caddyhttp/templates/templates.go index d4505f05..20eed8a2 100644 --- a/modules/caddyhttp/templates/templates.go +++ b/modules/caddyhttp/templates/templates.go @@ -43,10 +43,10 @@ func init() { // // ##### `.Args` // -// Access arguments passed to this page/context, for example as the result of a `include`. +// A slice of arguments passed to this page/context, for example as the result of a `include`. // // ``` -// {{.Args 0}} // first argument +// {{index .Args 0}} // first argument // ``` // // ##### `.Cookie`