webpage/themes/hugo-book/layouts/partials/docs/brand.html
kekskurse 27e6a14105 init
2024-11-26 23:25:09 +01:00

8 lines
320 B
HTML

<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" class="book-icon" />
{{- end -}}
<span>{{ .Site.Title }}</span>
</a>
</h2>