hugo-book-theme/layouts/partials/docs/brand.html

9 lines
300 B
HTML
Raw Permalink Normal View History

2018-11-24 15:10:43 +01: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>
2019-07-15 18:25:21 +02:00
</h2>