mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2025-06-10 18:54:08 +00:00
deprecated: .Sites.First was deprecated in Hugo v0.127.0 and will be removed in a future release.
This commit is contained in:
parent
cc6f88e60d
commit
b95bb4dbff
@ -1,5 +1,5 @@
|
||||
<h2 class="book-brand">
|
||||
<a class="flex align-center" href="{{ cond (not .Site.Home.File) .Sites.First.Home.RelPermalink .Site.Home.RelPermalink }}">
|
||||
<a class="flex align-center" href="{{ cond (not .Site.Home.File) .Sites.Default.Home.RelPermalink .Site.Home.RelPermalink }}">
|
||||
{{- with .Site.Params.BookLogo -}}
|
||||
<img src="{{ . | relURL }}" alt="Logo" />
|
||||
{{- end -}}
|
||||
|
Loading…
Reference in New Issue
Block a user