mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-23 01:40:09 +08:00
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
Block a user