diff options
author | tdro <tdro@noreply.example.com> | 2024-05-16 00:00:00 +0000 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2024-05-16 00:00:00 +0000 |
commit | 60e910f01bb7a66705cbc63f7a73b76fb1bec22d (patch) | |
tree | c5ccd659aa3ea7147861bae3ef3d41434fd2902b | |
parent | 454390d70644c03f085087a4affd21ffadcba02b (diff) | |
download | canory-master.tar.gz canory-master.tar.bz2 canory-master.zip |
-rw-r--r-- | themes/default/layouts/partials/head-manifest.html | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/themes/default/layouts/partials/head-manifest.html b/themes/default/layouts/partials/head-manifest.html index 3a34673..6d01c32 100644 --- a/themes/default/layouts/partials/head-manifest.html +++ b/themes/default/layouts/partials/head-manifest.html @@ -13,11 +13,12 @@ {{- with $logo = resources.Get $logo -}} -{{- $16 := $logo.Fit "16x16" -}} -{{- $32 := $logo.Fit "32x32" -}} -{{- $180 := $logo.Fit "180x180" -}} -{{- $192 := $logo.Fit "192x192" -}} -{{- $512 := $logo.Fit "512x512" -}} +{{- $16 := $logo.Fit "16x16" -}} +{{- $32 := $logo.Fit "32x32" -}} + +{{- $180 := $logo.Resize "180x180" -}} +{{- $192 := $logo.Resize "192x192" -}} +{{- $512 := $logo.Resize "512x512" -}} {{- if (eq $.Page.Kind "home") -}} {{- $writeToFile := ($32.Content | resources.FromString "/favicon.ico").Permalink -}} |