commit 4fdd77c8717963ed607102d9cd70ce425eddbb2b
parent 5cf4720aff95bacf96d9919ce6c285de0ec764ec
Author: panr <radoslaw.koziel@gmail.com>
Date:   Tue, 21 Jun 2022 21:30:21 +0200

minor fixes

Diffstat:
Mlayouts/partials/head.html | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/layouts/partials/head.html b/layouts/partials/head.html @@ -1,4 +1,4 @@ - <meta http-equiv="content-type" content="text/html; charset=utf-8"> +<meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="{{ if .IsHome }}{{ $.Site.Params.Subtitle }}{{ else if .Description}}{{ .Description | plainify }}{{ else }}{{ .Summary | plainify }}{{ end }}" /> <meta name="keywords" content="{{ with .Params.Keywords }}{{ delimit . ", " }}{{ else }}{{ $.Site.Params.Keywords }}{{ end }}" /> @@ -7,9 +7,8 @@ {{ template "_internal/google_analytics.html" . }} -<!-- Local Theme Variables --> {{ $defaultStyles := resources.Get "css/style.scss" }} - +<!-- Local Theme Variables --> {{ if (isset .Params "color") }} {{ $localColorCss := resources.Get (printf "css/color/%s.scss" .Params.color) }} {{ $localCss := slice $localColorCss $defaultStyles | resources.Concat (printf "css/%s-local.scss" .Params.color) }}