always have <span> for title text and move spacing to logo

This commit is contained in:
Paul Twohey
2019-09-04 09:20:26 -07:00
committed by Alex Shpak
parent d94b4196ba
commit 73e53768c9
2 changed files with 3 additions and 9 deletions
+2 -6
View File
@@ -1,12 +1,8 @@
<h2 class="book-brand">
<a href="{{ .Site.BaseURL }}">
<a href="{{ .Site.BaseURL }}"><span>
{{- with .Site.Params.BookLogo -}}
<img src="{{ . | relURL }}" alt="Logo" />
<span>
{{- end -}}
{{ .Site.Title }}
{{- with .Site.Params.BookLogo -}}
</span>
{{- end -}}
</a>
</span></a>
</h2>