From 896cf1eb27887575dc7cf954dca3634add62ad05 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Thu, 15 Apr 2021 02:10:36 -0500 Subject: [PATCH] Use Hugo pipes to minify isso.css --- {static => assets/css}/isso.css | 0 layouts/partials/comments.html | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) rename {static => assets/css}/isso.css (100%) diff --git a/static/isso.css b/assets/css/isso.css similarity index 100% rename from static/isso.css rename to assets/css/isso.css diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index a960d94..584745a 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -1,4 +1,6 @@ - +{{ $css := resources.Get "css/isso.css" }} +{{ $style := $css | resources.Minify }} +