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 | |
parent | d94b4196bac55ef67cff680258f8227418b9c3c0 (diff) |
always have <span> for title text and move spacing to logo
-rw-r--r-- | assets/book.scss | 4 | ||||
-rw-r--r-- | layouts/partials/docs/brand.html | 8 |
2 files changed, 3 insertions, 9 deletions
diff --git a/assets/book.scss b/assets/book.scss index 6f3a8d1..342eb1f 100644 --- a/assets/book.scss +++ b/assets/book.scss @@ -98,9 +98,7 @@ ul.pagination { max-width: 40px; max-height: 40px; vertical-align: middle; - } - span { - margin-left: 0.5rem; + margin-right: 0.5rem; } } 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> |