diff --git a/exampleSite/config.toml b/exampleSite/config.toml index dc41751..3e07f05 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -34,6 +34,7 @@ summarylength = 25 logo_footer = "images/logo-footer.png" favicon_icon = "images/favicon.ico" favicon_shortcut_icon = "images/favicon.png" + custom_stylesheets = [] # [ "scss/my_1.scss", "scss/my_2.scss" ] dateFormat = "26 FEB 1994" # Meta data description = "Roxo Hugo themes | Design Agency Template by StaticMania" diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 4e667a2..1ce8fa3 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -19,6 +19,11 @@ {{ $style := resources.Get "scss/style.scss" | resources.ToCSS | minify }} + {{ range .Site.Params.custom_stylesheets -}} + {{ $style := resources.Get . | resources.ToCSS | minify }} + + {{- end }} +