From 7236c3b6c44c24a9cfef25f09bb1c8bfa93eee65 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Tue, 7 Jul 2020 13:20:25 +0000 Subject: Introduce config parameter for user defined / custom CSS and JS --- layouts/partials/scripts.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index 05891be..3e36a65 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -1,6 +1,9 @@ +{{ range .Site.Params.customCSS -}} + +{{- end }} @@ -27,4 +30,7 @@ function ThisYear() { document.getElementById('thisyear').innerHTML = new Date().getFullYear(); }; - \ No newline at end of file + +{{- range .Site.Params.customJS }} + +{{- end }} \ No newline at end of file -- cgit v1.2.3