mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-22 03:19:25 +00:00
always have <span> for title text and move spacing to logo
This commit is contained in:
parent
d94b4196ba
commit
73e53768c9
@ -98,9 +98,7 @@ ul.pagination {
|
||||
max-width: 40px;
|
||||
max-height: 40px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
span {
|
||||
margin-left: 0.5rem;
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user