mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-30 03:51:07 -05:00
20 lines
707 B
Markdown
20 lines
707 B
Markdown
|
---
|
||
|
title: Functions Quick Reference
|
||
|
linktitle: Functions Quick Reference
|
||
|
description: Comprehensive list of Hugo templating functions, including basic and advanced usage examples.
|
||
|
date: 2017-02-01
|
||
|
publishdate: 2017-02-01
|
||
|
lastmod: 2017-02-01
|
||
|
keywords: []
|
||
|
menu:
|
||
|
docs:
|
||
|
parent: "functions"
|
||
|
weight: 01 #rem
|
||
|
draft: false
|
||
|
aliases: [/layout/functions/,/templates/functions]
|
||
|
---
|
||
|
|
||
|
Go templates are lightweight but extensible. Go itself supplies built-in functions, including comparison operators and other basic tools. These are listed in the [Go template documentation][gofuncs]. Hugo has added additional functions to the basic template logic.
|
||
|
|
||
|
[gofuncs]: https://golang.org/pkg/text/template/#hdr-Functions
|