isset
Syntaxe
isset COLLECTION INDEX
isset COLLECTION KEY
Prend soit une “slice”, “array”, ou “channel” et un “index” ou une “map” et une “key” comme input.
{{ if isset .Params "project_url" }} {{ index .Params "project_url" }}{{ end }}
isset COLLECTION INDEX
isset COLLECTION KEY
Prend soit une “slice”, “array”, ou “channel” et un “index” ou une “map” et une “key” comme input.
{{ if isset .Params "project_url" }} {{ index .Params "project_url" }}{{ end }}