diff options
author | Paul Twohey <twohey@users.noreply.github.com> | 2019-09-04 09:20:26 -0700 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-09-05 22:22:14 +0200 |
commit | 73e53768c962e38c54d31e1ecfed1dfc06b59bcb (patch) | |
tree | e7a70ac005ea1ef9be1c2d8b021368c98c1fde41 /layouts/partials | |
parent | d94b4196bac55ef67cff680258f8227418b9c3c0 (diff) |
always have <span> for title text and move spacing to logo
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/docs/brand.html | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/layouts/partials/docs/brand.html b/layouts/partials/docs/brand.html index bf327e6..d88d550 100644 --- a/layouts/partials/docs/brand.html +++ b/layouts/partials/docs/brand.html @@ -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> |