mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-27 06:03:48 +03:00
templates: Fix docs for .Args
This commit is contained in:
parent
ceef70dbc5
commit
a6199cf814
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue