diff options
Diffstat (limited to 'themes/default/layouts/partials/head-manifest.html')
-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 -}} |