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

View file

@ -98,9 +98,7 @@ ul.pagination {
max-width: 40px;
max-height: 40px;
vertical-align: middle;
}
span {
margin-left: 0.5rem;
margin-right: 0.5rem;
}
}

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>