summaryrefslogtreecommitdiff
path: root/layouts/partials/docs
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/docs')
-rw-r--r--layouts/partials/docs/brand.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/layouts/partials/docs/brand.html b/layouts/partials/docs/brand.html
index 7d7b721..9a74dc0 100644
--- a/layouts/partials/docs/brand.html
+++ b/layouts/partials/docs/brand.html
@@ -1,3 +1,12 @@
<h2 class="book-brand">
- <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
+ <a href="{{ .Site.BaseURL }}">
+ {{- with .Site.Params.BookLogo -}}
+ <img src="{{ . }}" alt="Logo" />
+ <span>
+ {{- end -}}
+ {{ .Site.Title }}
+ {{- with .Site.Params.BookLogo -}}
+ </span>
+ {{- end -}}
+ </a>
</h2>