mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-12 22:20:56 -04: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.