refactor: get favicon from assets folder (#1246)

This commit is contained in:
Jimmy
2026-01-26 23:49:27 +01:00
committed by GitHub
parent 9a4ee4fc33
commit ab17b22c77
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -19,7 +19,8 @@
{{- end -}}
{{ with .Site.Params.favicon }}
<link rel="shortcut icon" href="{{ . | relURL }}" />
{{- $favicon := partial "helper/image" (dict "Image" . "Resources" resources) -}}
<link rel="shortcut icon" href="{{ $favicon.Permalink }}" />
{{ end }}
{{- partial "google_analytics.html" . -}}