docs: add better default example

This commit is contained in:
Cameron Moore 2016-03-09 14:56:54 -06:00 committed by Bjørn Erik Pedersen
parent ce9ee3cf49
commit 0743646f32

View file

@ -36,7 +36,7 @@ non-nil for any other types.
e.g.
{{ .Params.font | default "Roboto" }} → default is "Roboto"
{{ index .Params "font" | default "Roboto" }} → default is "Roboto"
{{ default "Roboto" .Params.font }} → default is "Roboto"
### delimit