#455, add BookFavicon parameter

This commit is contained in:
Alex Shpak
2023-08-08 12:40:46 +02:00
parent 1cebd589f6
commit 16f6203f90
3 changed files with 13 additions and 5 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
{{- $manifest := resources.Get "manifest.json" | resources.ExecuteAsTemplate "manifest.json" . }}
<link rel="manifest" href="{{ $manifest.RelPermalink }}">
<link rel="icon" href="{{ "favicon.png" | relURL }}" type="image/x-icon">
<link rel="icon" href="{{ .Params.BookFavicon | default "favicon.png" | relURL }}" >
{{- range .Translations }}
<link rel="alternate" hreflang="{{ default .Language.Lang .Site.LanguageCode }}" href="{{ .Permalink }}" title="{{ partial "docs/title" . }}">