mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-27 22:09:53 +02:00
Merge commit '346b60358dd8ec2ca228e6635bff9d7914b398b7'
This commit is contained in:
5
docs/content/en/getting-started/glossary/method.md
Normal file
5
docs/content/en/getting-started/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