mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-10-04 11:56:02 -04:00
611 B
611 B
title | linktitle | description | godocref | date | publishdate | lastmod | categories | menu | tags | ns | signature | workson | hugoversion | relatedfuncs | deprecated | aliases | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
jsonify | jsonify | Encodes a given object to JSON. | 2017-02-01 | 2017-02-01 | 2017-02-01 |
|
|
|
|
|
false |
jsonify
encodes a given object to JSON and converts it to HTML-safe content.
{{ dict "title" .Title "content" .Plain | jsonify }}
See also the .PlainWords
, .Plain
, and .RawContent
page variables.