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

github.com/jsnjack/hugo-changelog-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYauhen Shulitski <jsnjack@gmail.com>2019-02-05 15:53:43 +0300
committerGitHub <noreply@github.com>2019-02-05 15:53:43 +0300
commit95a97426c06250fd4e58aae5a303b02e699a08e7 (patch)
treecd472f0d74e78152d83b3351dbe4fb3917347428
parentfb3f6530e9915472b259f32f8b87ad8da0bcf9de (diff)
parentbca39ff6f3893cc8eea0e8482612483697d52cac (diff)
Merge pull request #5 from qguv/custom-js
Support custom JS in sites using this theme
-rw-r--r--layouts/partials/head.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index f102257..fe7c416 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -27,6 +27,9 @@
<link rel="stylesheet" href="{{ . | relURL }}">
{{- end }}
+ {{ range .Site.Params.customJS -}}
+ <script src="{{ . | relURL }}"></script>
+ {{- end }}
</head>
<body>