templates: Fix docs for .Args

This commit is contained in:
Matthew Holt 2022-03-03 11:12:37 -07:00
parent ceef70dbc5
commit a6199cf814
No known key found for this signature in database
GPG Key ID: 2A349DD577D586A5

View File

@ -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`