hugo-book-theme/layouts/partials/docs/brand.html
2019-09-05 22:22:14 +02:00

12 lines
277 B
HTML

<h2 class="book-brand">
<a href="{{ .Site.BaseURL }}">
{{- with .Site.Params.BookLogo -}}
<img src="{{ . | relURL }}" alt="Logo" />
<span>
{{- end -}}
{{ .Site.Title }}
{{- with .Site.Params.BookLogo -}}
</span>
{{- end -}}
</a>
</h2>