mirror of
https://github.com/gohugoio/hugo.git
synced 2025-05-06 10:46:34 +03:00
tpl: Improve template funcs GoDoc
This commit is contained in:
parent
aa2c724195
commit
cd1ed563a8
17 changed files with 170 additions and 163 deletions
|
@ -57,7 +57,7 @@ func (ns *Namespace) Base64Encode(content any) (string, error) {
|
|||
}
|
||||
|
||||
// Jsonify encodes a given object to JSON. To pretty print the JSON, pass a map
|
||||
// or dictionary of options as the first argument. Supported options are
|
||||
// or dictionary of options as the first value in args. Supported options are
|
||||
// "prefix" and "indent". Each JSON element in the output will begin on a new
|
||||
// line beginning with prefix followed by one or more copies of indent according
|
||||
// to the indentation nesting.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue