mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-16 16:15:39 +00:00
Update transform.Unmarshal.md
This commit is contained in:
1 parent
f76edaab07
commit
2878090b5c
1 file changed
+1
-1
@@ -12,7 +12,7 @@ hugoversion: "0.53"
|
||||
aliases: []
|
||||
---
|
||||
|
||||
The function accept either a `Resource` created in [Hugo Pipes](/hugo-pipes/) or via [Page Bundles](/content-management/page-bundles/), or simply a string. The two examples below will produce the same map:
|
||||
The function accepts either a `Resource` created in [Hugo Pipes](/hugo-pipes/) or via [Page Bundles](/content-management/page-bundles/), or simply a string. The two examples below will produce the same map:
|
||||
|
||||
```go-html-template
|
||||
{{ $greetings := "hello = \"Hello Hugo\"" | transform.Unmarshal }}`
|
||||
|
||||
Reference in new issue
Block a user