mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-01 19:53:15 -05:00
docs: add better default example
This commit is contained in:
parent
ce9ee3cf49
commit
0743646f32
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ non-nil for any other types.
|
||||||
|
|
||||||
e.g.
|
e.g.
|
||||||
|
|
||||||
{{ .Params.font | default "Roboto" }} → default is "Roboto"
|
{{ index .Params "font" | default "Roboto" }} → default is "Roboto"
|
||||||
{{ default "Roboto" .Params.font }} → default is "Roboto"
|
{{ default "Roboto" .Params.font }} → default is "Roboto"
|
||||||
|
|
||||||
### delimit
|
### delimit
|
||||||
|
|
Loading…
Reference in a new issue