mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-22 11:29:28 +00:00
9 lines
300 B
HTML
9 lines
300 B
HTML
<h2 class="book-brand">
|
|
<a class="flex align-center" href="{{ cond (not .Site.Home.File) .Sites.First.Home.RelPermalink .Site.Home.RelPermalink }}">
|
|
{{- with .Site.Params.BookLogo -}}
|
|
<img src="{{ . | relURL }}" alt="Logo" />
|
|
{{- end -}}
|
|
<span>{{ .Site.Title }}</span>
|
|
</a>
|
|
</h2>
|