Fix: make use of .Site.Params.BookFavicon (#576)

This commit is contained in:
Andreas Deininger 2024-01-10 12:39:18 +01:00 committed by GitHub
parent 118997fa92
commit 2d7ce27f77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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="{{ .Params.BookFavicon | default "favicon.png" | relURL }}" >
<link rel="icon" href="{{ .Site.Params.BookFavicon | default "favicon.png" | relURL }}" >
{{- range .Translations }}
<link rel="alternate" hreflang="{{ default .Language.Lang .Site.LanguageCode }}" href="{{ .Permalink }}" title="{{ partial "docs/title" . }}">