Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/de-souza/hugo-flex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorde-souza <43355143+de-souza@users.noreply.github.com>2020-03-07 14:41:43 +0300
committerde-souza <43355143+de-souza@users.noreply.github.com>2020-03-07 14:41:43 +0300
commitcaf1a0c545bcda424a444bd2bfc3cb98e988062f (patch)
treeb8bab4ba6d20c2872ff779ad0365f9173788ca39
parent8438e84cc546726db69c8284ac45503ef7d1ee78 (diff)
Clarify instructions
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 462bcf8..b0d4f2c 100644
--- a/README.md
+++ b/README.md
@@ -158,7 +158,9 @@ To embed CSS and JS resources on specific pages of the website, they must be add
{{ resources.Get "myscript.js" | fingerprint | .Page.Scratch.SetInMap "js" "myscript" }}
```
-As an example, here is the complete template for the Soundcloud shortcode:
+This would load script myscript.js on every page where the shortcode is used.
+
+As an example, this is the template for the built-in Soundcloud shortcode:
```html
{{ resources.Get "css/soundcloud.css" | minify | fingerprint | .Page.Scratch.SetInMap "css" "soundcloud" }}