diff --git a/docs/content/layout/go-templates.md b/docs/content/layout/go-templates.md index 39df738e8..b6a92b35b 100644 --- a/docs/content/layout/go-templates.md +++ b/docs/content/layout/go-templates.md @@ -129,7 +129,7 @@ range. If, else, with, or, & and provide the framework for handling conditional logic in Go Templates. Like range, each statement is closed with `end`. -There is not an elseif function. + Go Templates treat the following values as false: @@ -163,6 +163,14 @@ The first example above could be simplified as: {{ with .Params.title }}