diff --git a/assets/apple-touch-icon.png b/assets/apple-touch-icon.png deleted file mode 120000 index 866536d..0000000 --- a/assets/apple-touch-icon.png +++ /dev/null @@ -1 +0,0 @@ -../static/apple-touch-icon.png \ No newline at end of file diff --git a/assets/favicon192.png b/assets/favicon192.png new file mode 120000 index 0000000..8b7300e --- /dev/null +++ b/assets/favicon192.png @@ -0,0 +1 @@ +../static/favicon192.png \ No newline at end of file diff --git a/assets/manifest.webmanifest b/assets/manifest.webmanifest index 0b0bef7..4b3f135 100644 --- a/assets/manifest.webmanifest +++ b/assets/manifest.webmanifest @@ -1,4 +1,4 @@ -{{- $192png := resources.Get "/apple-touch-icon.png" | resources.Fingerprint "md5" }} +{{- $192png := resources.Get "/favicon192.png" | resources.Fingerprint "md5" }} {{- $512png := resources.Get "/favicon512.png" | resources.Fingerprint "md5" }} {{- $1024svg := resources.Get "/favicon.svg" | resources.Fingerprint "md5" }} {{- $maskablesvg := resources.Get "/maskable_android.svg" | resources.Fingerprint "md5" -}} diff --git a/layouts/_default/404.html b/layouts/_default/404.html index effdbf5..3d26134 100644 --- a/layouts/_default/404.html +++ b/layouts/_default/404.html @@ -20,7 +20,7 @@ {{ $icon_svg := resources.Get "/favicon.svg" | resources.Fingerprint "md5" }} {{- printf `` $icon_svg.RelPermalink | safeHTML }} {{- end }} -{{ $icon_192 := resources.Get "/apple-touch-icon.png" | resources.Fingerprint "md5" }} +{{ $icon_192 := resources.Get "/favicon192.png" | resources.Fingerprint "md5" }} {{- printf `` $icon_192.RelPermalink | safeHTML -}} diff --git a/layouts/_default/list.atom.xml b/layouts/_default/list.atom.xml index b7886c4..1d8ffed 100644 --- a/layouts/_default/list.atom.xml +++ b/layouts/_default/list.atom.xml @@ -1,6 +1,6 @@ {{- $pages := (where site.RegularPages "Section" .Section) -}} {{- if .IsHome }} - {{- $pages = where .Site.RegularPages "Section" "" -}} + {{- $pages = .Site.RegularPages -}} {{ end -}} {{- $type := "article" -}} {{- $period := "daily" -}} @@ -9,7 +9,7 @@ {{- $period = "hourly" -}} {{- end -}} {{- $icon_svg := resources.Get "/favicon.svg" | resources.Fingerprint "md5" -}} -{{- $icon_png := resources.Get "/apple-touch-icon.png" | resources.Fingerprint "md5" -}} +{{- $icon_png := resources.Get "/favicon192.png" | resources.Fingerprint "md5" -}}