From b81b5e77f4e60878456dee5cbfa2a2c953761b06 Mon Sep 17 00:00:00 2001 From: Ben Freke Date: Thu, 16 May 2019 02:40:17 +1000 Subject: Adds custom css files to allow theme customisation --- layouts/partials/styles-hugo.html | 5 +++-- layouts/partials/styles-postcss.html | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/layouts/partials/styles-hugo.html b/layouts/partials/styles-hugo.html index d39c3fd..f5d5ba5 100644 --- a/layouts/partials/styles-hugo.html +++ b/layouts/partials/styles-hugo.html @@ -5,8 +5,9 @@ {{ $single := resources.Get "css/single.css" }} {{ $list := resources.Get "css/list.css" }} {{ $medias := resources.Get "css/media-queries.css" }} -{{ $bundle := slice $reset $base $common $style $single $list $medias | resources.Concat "css/bundle.css" }} +{{ $custom := resources.Get "css/custom.css" }} +{{ $bundle := slice $reset $base $common $style $single $list $medias $custom | resources.Concat "css/bundle.css" }} {{ $css := $bundle | resources.Minify }} - \ No newline at end of file + diff --git a/layouts/partials/styles-postcss.html b/layouts/partials/styles-postcss.html index 39d383d..8021578 100644 --- a/layouts/partials/styles-postcss.html +++ b/layouts/partials/styles-postcss.html @@ -5,8 +5,9 @@ {{ $single := resources.Get "css/single.css" }} {{ $list := resources.Get "css/list.css" }} {{ $medias := resources.Get "css/media-queries.css" }} -{{ $bundle := slice $reset $base $common $style $single $list $medias | resources.Concat "css/bundle.css" }} +{{ $custom := resources.Get "css/custom.css" }} +{{ $bundle := slice $reset $base $common $style $single $list $medias $custom | resources.Concat "css/bundle.css" }} {{ $css := $bundle | resources.PostCSS }} - \ No newline at end of file + -- cgit v1.2.3 From 2a2a1df6a1f5c32eea15ba4ee2325efcb29ba51b Mon Sep 17 00:00:00 2001 From: danielkvist Date: Wed, 15 May 2019 20:37:17 +0200 Subject: add custom.css file to avoid errors --- assets/css/custom.css | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 assets/css/custom.css diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3