mirror of https://github.com/caddyserver/caddy.git
templates: Fix docs for .Args
This commit is contained in:
parent
ceef70dbc5
commit
a6199cf814
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue