diff --git a/assets/images/logo.svg b/assets/images/logo.svg index 4fa6928..dfd38f4 100644 --- a/assets/images/logo.svg +++ b/assets/images/logo.svg @@ -1,14 +1,20 @@ + + {{ $cssoptions := (dict "outputStyle" .Site.Params.scssOutputStyle "enableSourceMap" .Site.Params.scssEnableSourceMap) }} + - {{ $style := resources.Get "sass/main.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint "sha512" }} + {{ $style := resources.Get "sass/main.scss" | resources.ToCSS $cssoptions | resources.Fingerprint "sha512" }} - {{ $font := resources.Get "sass/nunitosans.scss" | resources.ExecuteAsTemplate "sass/nunitosans.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint "sha512" }} + {{ $font := resources.Get "sass/nunitosans.scss" | resources.ExecuteAsTemplate "sass/nunitosans.scss" . | resources.ToCSS $cssoptions | resources.Fingerprint "sha512" }} - {{ $logo := resources.Get "images/logo.svg" | resources.ExecuteAsTemplate "images/logo.svg" . | resources.Minify}} - + {{ $favicon := resources.Get "images/logo.svg" | resources.ExecuteAsTemplate "images/favicon.svg" (dict "ctx" . "type" "favicon") | resources.Minify}} + {{ if .Title }}{{ .Title }} | {{ end }}{{ .Site.Title }} diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 1f2b836..bec5412 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -1,7 +1,7 @@