mirror of
https://github.com/caddyserver/caddy.git
synced 2025-03-09 15:39:02 -04: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…
x
Reference in New Issue
Block a user