shithub: hugo

ref: c9403cbceaaeff53ff4833561f4eefe1dc1a405e
dir: /content/en/functions/_index.md/

View raw version
---
title: Functions Quick Reference
linktitle: Functions Quick Reference
description: Comprehensive list of Hugo templating functions, including basic and advanced usage examples.
godocref:
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