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

github.com/Mitrichius/hugo-theme-anubis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index e882d5d..e62029c 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -18,6 +18,10 @@
{{ partial "favicons.html" . }}
{{ partial "resource.html" (dict "context" . "type" "css" "filename" "css/main.css") }}
+{{ if .Site.Params.copyCodeButton | default true }}
+ {{ partial "resource.html" (dict "context" . "type" "js" "filename" "js/copy-code.js") }}
+{{ end }}
+
{{ range .Site.Params.customJS -}}
{{ partial "resource.html" (dict "context" $ "type" "js" "filename" . ) }}
{{- end }}