mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-19 08:15:16 +00:00
Update debug.Dump
This commit is contained in:
1 parent
38d6731e29
commit
3dcf32e25b
9 files changed
+24
-63
No files matched your search
@@ -182,7 +182,7 @@ Get the remote data:
|
||||
Inspect the data structure:
|
||||
|
||||
```go-html-template
|
||||
<pre>{{ jsonify (dict "indent" " ") $data }}</pre>
|
||||
<pre>{{ debug.Dump $data }}</pre>
|
||||
```
|
||||
|
||||
List the book titles:
|
||||
@@ -245,7 +245,7 @@ Let's add a `lang` attribute to the `title` nodes of our RSS feed, and a namespa
|
||||
After retrieving the remote data, inspect the data structure:
|
||||
|
||||
```go-html-template
|
||||
<pre>{{ jsonify (dict "indent" " ") $data }}</pre>
|
||||
<pre>{{ debug.Dump $data }}</pre>
|
||||
```
|
||||
|
||||
Each item node looks like this:
|
||||
|
||||
Reference in new issue
Block a user