diff options
author | Dongdong Tian <seisman.info@gmail.com> | 2018-02-03 21:41:44 +0800 |
---|---|---|
committer | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2018-02-03 21:41:44 +0800 |
commit | 33594c0d1307e1aad56823a7ac5ba6bb18a5d294 (patch) | |
tree | 4f54d35ca009e830228fc791bbfa54a3a4ea26cd /layouts/partials/scripts.html | |
parent | 52eeea8f20963362ff143fa7f5e66d9fcfb14f75 (diff) |
feat: support custom css and js (#29)
Diffstat (limited to 'layouts/partials/scripts.html')
-rw-r--r-- | layouts/partials/scripts.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index cb26278..89c087a 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -59,4 +59,9 @@ s.parentNode.insertBefore(bp, s); })(); </script> -{{- end }}
\ No newline at end of file +{{- end }} + +<!-- custom js --> +{{ range .Site.Params.customJS }} +<script src="{{ "/js/" | relURL }}{{ . }}"></script> +{{ end }} |