Build

build: the version and the build environment, in every template. It replaces the Go templates’ site-info object.

Fields#

environment
The environment: production (build), development (server), or -e.
generator
<meta name="generator" content="fugo <version>"> (safe).
is_development
Whether the environment is development.
is_production
Whether the environment is production.
is_server
Whether the build runs in fugo server.
name
The program’s name, fugo (the RSS feeds’ <generator>).
version
fugo’s version, e.g. 1.0.0; check it with version_at_least.

    Type to search titles, headings and text.