mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 12:14:49 +00:00
docs: add better default example
This commit is contained in:
1 parent
ce9ee3cf49
commit
0743646f32
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user