Skip to content

Commit

Permalink
Fix: make use of .Site.Params.BookFavicon (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
deining authored Jan 10, 2024
1 parent 118997f commit 2d7ce27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/docs/html-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -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" . }}">
Expand Down

0 comments on commit 2d7ce27

Please sign in to comment.