p.d-legal/themes/hugo-book/layouts/partials/docs/brand.html

9 lines
300 B
HTML
Raw Normal View History

2024-02-26 08:25:11 +00:00
<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>