mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 23:38:53 +00:00
4e0bca2b1e
We need to rework the whole template func docs and, while a good idea, this does not fit into that.
608 B
608 B
title, linktitle, description, godocref, date, publishdate, lastmod, categories, menu, signature, workson, hugoversion, relatedfuncs, deprecated, aliases
| title | linktitle | description | godocref | date | publishdate | lastmod | categories | menu | 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.