mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
Merge commit 'a024bc7d76fcc5e49e8210f9b0896db9ef21861a'
This commit is contained in:
5
docs/content/en/quick-reference/glossary/method.md
Normal file
5
docs/content/en/quick-reference/glossary/method.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
title: method
|
||||
---
|
||||
|
||||
Used within a [_template action_](g) and associated with an [_object_](g), a _method_ takes zero or more [_arguments_](g) and either returns a value or performs an action. For example, `.IsHome` is a method on the `.Page` object which returns `true` if the current page is the home page. See also [_function_](g).
|
Reference in New Issue
Block a user