mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-20 02:17:39 +00:00
Use key-value consistently throughout documentation
This commit is contained in:
1 parent
d03ed18872
commit
463adcf268
8 files changed
+10
-10
No files matched your search
@@ -47,7 +47,7 @@ Place this in your baseof.html template:
|
||||
|
||||
The example above:
|
||||
|
||||
1. Creates a map with the relevant key/value pairs using the [`dict`] function
|
||||
1. Creates a map with the relevant key-value pairs using the [`dict`] function
|
||||
2. Encodes the map as a JSON string using the [`jsonify`] function
|
||||
3. Creates a resource from the JSON string using the `resources.FromString` function
|
||||
4. Publishes the file to the root of the public directory using the resource's `.Publish` method
|
||||
|
||||
Reference in new issue
Block a user