From c920981b1a2317f7d485ab3bf080f387f1c6facd Mon Sep 17 00:00:00 2001 From: Luca Date: Thu, 12 Nov 2020 21:12:42 +0100 Subject: [PATCH] Use SASS for styling --- .gitignore | 1 + assets/{style.css => style.scss} | 0 layouts/_default/baseof.html | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-) rename assets/{style.css => style.scss} (100%) diff --git a/.gitignore b/.gitignore index 364fdec..43dd795 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ public/ +resources/_gen/ diff --git a/assets/style.css b/assets/style.scss similarity index 100% rename from assets/style.css rename to assets/style.scss diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5c8f36a..3e825e7 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -7,7 +7,7 @@ {{ .Site.Title }} {{ end }} - {{ $style := resources.Get "style.css" | minify }} + {{ $style := resources.Get "style.scss" | resources.ToCSS | minify }} -- 2.40.1