diff options
author | Yauhen Shulitski <jsnjack@gmail.com> | 2019-02-05 15:53:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-05 15:53:43 +0300 |
commit | 95a97426c06250fd4e58aae5a303b02e699a08e7 (patch) | |
tree | cd472f0d74e78152d83b3351dbe4fb3917347428 | |
parent | fb3f6530e9915472b259f32f8b87ad8da0bcf9de (diff) | |
parent | bca39ff6f3893cc8eea0e8482612483697d52cac (diff) |
Merge pull request #5 from qguv/custom-js
Support custom JS in sites using this theme
-rw-r--r-- | layouts/partials/head.html | 3 |
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> |