From b277b6012f631173dc48291916a092ed6a28903d Mon Sep 17 00:00:00 2001 From: gabrielgio Date: Tue, 19 Apr 2022 19:11:39 +0200 Subject: ref: Make site faster Some changes to make the site load faster: * remove custom font * romove some unused scss * remove unused scss include * embed css into the header * remove FA icons --- themes/flamingo/layouts/_default/baseof.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'themes/flamingo/layouts/_default') diff --git a/themes/flamingo/layouts/_default/baseof.html b/themes/flamingo/layouts/_default/baseof.html index f81dcf1..0be16e5 100644 --- a/themes/flamingo/layouts/_default/baseof.html +++ b/themes/flamingo/layouts/_default/baseof.html @@ -5,17 +5,16 @@ - - - {{ with .Site.Params.favicon }}{{ end }} {{ .Title }} {{ with .Site.Params.description }}{{ end }} {{ with .Site.Params.author }}{{ end }} - {{ $styles := resources.Get "scss/main.scss" | resources.ToCSS | minify | fingerprint}} - + {{ with resources.Get "scss/main.scss" | toCSS | minify }} + + {{ end }} + {{ partial "meta" . }} -- cgit v1.2.3