Environment Variables

Shortcode to read environment variables.

Use Cases

This shortcode is mainly used to read certain information from environment variables. Imagine you have a public site repository with your personal contact email address in it, and when someone else forks and deploys a new site and forgets to change the email address, it will undoubtedly bring you unnecessary contact and trouble.

Syntax

1{{< env >}}

Parameters

name

PositionNameTypeRequiredDefaultSince
#0namestring--

The name of environment variable.

Examples

Source
1{{< env "CI" >}}
Result