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
@@ -1,7 +1,7 @@
<h2 class="book-brand">
<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" />
<img src="{{ . | relURL }}" alt="Logo" class="book-icon" />
{{- end -}}
<span>{{ .Site.Title }}</span>
</a>