diff options
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 4 |
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 }} |