mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 13:40:38 +03:00
333 B
333 B
title |
---|
method |
Used within a template action and associated with an object, a method takes zero or more arguments and either returns a value or performs an action. For example, IsHome
is a method on a Page
object which returns true
if the current page is the home page. See also function.