From e2f2743c2657b1eff2500b2e4c3bba6be443fb99 Mon Sep 17 00:00:00 2001 From: somrat Date: Wed, 15 Apr 2020 09:53:46 +0600 Subject: [PATCH] updated with hugo v0.69.0 --- assets/css/style.css | 4 ++-- layouts/partials/default.html | 2 +- layouts/partials/head.html | 8 ++++++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index efb7b50..57dce7c 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -189,8 +189,8 @@ select:focus { } .section-sm { - padding-top: 80px; - padding-bottom: 80px; + padding-top: 60px; + padding-bottom: 60px; } @media (max-width: 768px) { diff --git a/layouts/partials/default.html b/layouts/partials/default.html index 0b0dd92..d627439 100644 --- a/layouts/partials/default.html +++ b/layouts/partials/default.html @@ -1,5 +1,5 @@ {{ "" | safeHTML }} -
+
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 58a27db..a0594d6 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -36,8 +36,12 @@ {{ "" | safeHTML }} -{{ $styles := resources.Get "css/style.css" | minify}} - +{{ $css := resources.Get "css/style.css" }} +{{ $css = $css | minify }} +{{ if hugo.IsProduction }} +{{ $css = $css | minify | resources.PostProcess }} +{{ end }} + {{ "" | safeHTML }}