diff options
author | Quint Guvernator <quint@guvernator.net> | 2019-02-05 15:45:43 +0300 |
---|---|---|
committer | Quint Guvernator <quint@guvernator.net> | 2019-02-05 15:45:43 +0300 |
commit | bca39ff6f3893cc8eea0e8482612483697d52cac (patch) | |
tree | cd472f0d74e78152d83b3351dbe4fb3917347428 | |
parent | fb3f6530e9915472b259f32f8b87ad8da0bcf9de (diff) |
support custom js
-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> |