website

Personal website
git clone https://github.com/michaelneuper/website.git
README | Files | Log | Refs

commit feafee684cb69a5627f16a363518323fc026169a
parent 2a0b20f34f7d3ac7225936683b1fdcaa64e87468
Author: Michael Neuper <michael@michaelneuper.com>
Date:   Fri,  3 Nov 2023 20:38:54 +0200

Minify css

Diffstat:
Mlayouts/_default/baseof.html | 4++--
Mlayouts/_default/list.html | 2+-
Mlayouts/_default/single.html | 2+-
Mlayouts/index.html | 2+-
4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html @@ -53,10 +53,10 @@ {{ template "_internal/schema.html" . }} <!-- style --> - {{ with resources.Get "css/common.css" | postCSS }} + {{ with resources.Get "css/common.css" | postCSS | minify }} <link rel="stylesheet" href="{{ .RelPermalink }}"> {{ end }} - {{ with resources.Get "css/content.css" | postCSS }} + {{ with resources.Get "css/content.css" | postCSS | minify }} <link rel="stylesheet" href="{{ .RelPermalink }}"> {{ end }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html @@ -1,5 +1,5 @@ {{ define "head" }} -{{ with resources.Get "css/list.css" | postCSS }} +{{ with resources.Get "css/list.css" | postCSS | minify }} <link rel="stylesheet" href="{{ .RelPermalink }}"> {{ end }} {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html @@ -1,5 +1,5 @@ {{ define "head" }} -{{ with resources.Get "css/single.css" | postCSS }} +{{ with resources.Get "css/single.css" | postCSS | minify }} <link rel="stylesheet" href="{{ .RelPermalink }}"> {{ end }} {{ end }} diff --git a/layouts/index.html b/layouts/index.html @@ -1,5 +1,5 @@ {{ define "head" }} -{{ with resources.Get "css/index.css" | postCSS }} +{{ with resources.Get "css/index.css" | postCSS | minify }} <link rel="stylesheet" href="{{ .RelPermalink }}"> {{ end }} {{ end }}