mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-27 21:41:01 +00: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.
|
||||
|
||||
{{ .Params.font | default "Roboto" }} → default is "Roboto"
|
||||
{{ index .Params "font" | default "Roboto" }} → default is "Roboto"
|
||||
{{ default "Roboto" .Params.font }} → default is "Roboto"
|
||||
|
||||
### delimit
|
||||
|
|
Loading…
Reference in a new issue