mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 06:17:45 +00:00
Fix typo
This commit is contained in:
1 parent
c88bc03830
commit
ad4210c411
1 file changed
+1
-1
@@ -27,7 +27,7 @@ params [map or slice] {{< new-in "0.78.0" >}}
|
||||
: Params that can be imported as JSON in your JS files, e.g.:
|
||||
|
||||
```go-html-template
|
||||
{{ $js := resources.Get "js/main.js" | js.Build (dict "params" (dict "api" "https://example.org/api" ) }}
|
||||
{{ $js := resources.Get "js/main.js" | js.Build (dict "params" (dict "api" "https://example.org/api")) }}
|
||||
```
|
||||
And then in your JS file:
|
||||
|
||||
|
||||
Reference in new issue
Block a user