HUGO
News Docs Themes Community GitHub

cast

Use these functions to cast a value from one data type to another.

collections

Use these functions to work with arrays, slices, maps, and page collections.

compare

Use these functions to compare two or more values.

crypto

Use these functions to create cryptographic hashes.

css

Use these functions to work with CSS and Sass files.

data

Use these functions to read local or remote data files.

debug

Use these functions to debug your templates.

diagrams

Use these functions to render diagrams.

encoding

Use these functions to encode and decode data.

fmt

Use these functions to print strings within a template or to print messages to the terminal.

global

Use these global functions to access page and site data.

go template

These are the functions, operators, and statements provided by Go's text/template package.

hash

Use these functions to create non-cryptographic hashes.

hugo

Use these functions to access information about the Hugo application and the current environment.

images

Use these functions to create an image filter, apply an image filter to an image, and to retrieve image information.

inflect

These functions provide word inflection features such as singularization and pluralization of English nouns.

js

Use these functions to work with JavaScript and TypeScript files.

lang

Use these functions to adapt your site to meet language and regional requirements.

math

Use these functions to perform mathematical operations.

openapi3

Use these functions to work with OpenAPI 3 definitions.

os

Use these functions to interact with the operating system.

partials

Use these functions to call partial templates.

path

Use these functions to work with file paths.

reflect

Use these functions to determine a value's data type.

resources

Use these functions to work with resources.

safe

Use these functions to declare a value as safe in the context of Go's html/template package.

strings

Use these functions to work with strings.

templates

Use these functions to query the template system.

time

Use these functions to work with time values.

transform

Use these functions to transform values from one format to another.

urls

Use these functions to work with URLs.