hugo-book
This commit is contained in:
8
themes/hugo-book/layouts/partials/docs/brand.html
Normal file
8
themes/hugo-book/layouts/partials/docs/brand.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user