Gopher
FUNCTIONS

isset

Returns true if the parameter is set.

Syntax

isset COLLECTION INDEX
isset COLLECTION KEY

Takes either a slice, array, or channel and an index or a map and a key as input.

{{ if isset .Params "project_url" }} {{ index .Params "project_url" }}{{ end }}