diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 317e722..b22cada 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -14,8 +14,8 @@ pygmentsUseClasses = true Profiles, backgrounds, favorite things etc. """ publicationYear = "2018" - # custom_css = ["css/custom.css"] - # custom_js = ["js/custom.js"] + # custom_css = ["/css/custom.css"] + # custom_js = ["/js/custom.js"] [[params.nav]] name = "Blog" diff --git a/layouts/index.html b/layouts/index.html index 8aba828..2421595 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -5,8 +5,8 @@
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index fedcc68..e19f636 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,11 +1,11 @@ - + {{- range .Site.Params.custom_js -}} - + {{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 2872ec7..c3e4775 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,12 +3,12 @@ - - - - + + + + {{ range .Site.Params.custom_css }} - + {{ end }}