aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/book.scss4
-rw-r--r--layouts/partials/docs/brand.html8
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>