From 9d7a2366d3325b375b52dfe9bfb9c91aea581f59 Mon Sep 17 00:00:00 2001 From: Barish Barla Date: Sun, 15 Nov 2020 02:18:32 +0530 Subject: [PATCH] Fix typo --- content/en/hugo-pipes/js.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/hugo-pipes/js.md b/content/en/hugo-pipes/js.md index f745285a3..b9b841f15 100644 --- a/content/en/hugo-pipes/js.md +++ b/content/en/hugo-pipes/js.md @@ -105,7 +105,7 @@ import * as data from 'my/module/data.json'; Also note the new `params` option that can be passed from template to 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: