Update favicon, move to separate shortcode for customization

This commit is contained in:
Alex Shpak
2024-10-04 10:59:28 +02:00
parent e585c86a81
commit 69886cc74b
5 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -12,10 +12,10 @@
{{- template "_internal/opengraph.html" . -}}
<title>{{ partial "docs/html-head-title" . }}</title>
{{ partial "docs/html-head-favicon" . }}
{{- $manifest := resources.Get "manifest.json" | resources.ExecuteAsTemplate "manifest.json" . }}
<link rel="manifest" href="{{ $manifest.RelPermalink }}">
<link rel="icon" href="{{ .Site.Params.BookFavicon | default "favicon.png" | relURL }}" >
<link rel="canonical" href="{{ .Permalink }}">
{{- range .Translations }}