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 ++++----- themes/flamingo/layouts/partials/footer.html | 18 ++---------------- themes/flamingo/layouts/partials/header.html | 2 +- themes/flamingo/layouts/partials/post-description.html | 6 +++--- 4 files changed, 10 insertions(+), 25 deletions(-) (limited to 'themes/flamingo/layouts') 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" . }} diff --git a/themes/flamingo/layouts/partials/footer.html b/themes/flamingo/layouts/partials/footer.html index a5b6bcc..c7e0e49 100644 --- a/themes/flamingo/layouts/partials/footer.html +++ b/themes/flamingo/layouts/partials/footer.html @@ -2,23 +2,9 @@
diff --git a/themes/flamingo/layouts/partials/header.html b/themes/flamingo/layouts/partials/header.html index 2ea00f3..80240ee 100644 --- a/themes/flamingo/layouts/partials/header.html +++ b/themes/flamingo/layouts/partials/header.html @@ -13,7 +13,7 @@
  • - resume + resume
  • diff --git a/themes/flamingo/layouts/partials/post-description.html b/themes/flamingo/layouts/partials/post-description.html index ae79de6..c3382ce 100644 --- a/themes/flamingo/layouts/partials/post-description.html +++ b/themes/flamingo/layouts/partials/post-description.html @@ -8,20 +8,20 @@ target="_blank" href="https://gitlab.com/gabrielgio" > - + gitlab , - + twitter and - + linkedin .

    -- cgit v1.2.3