diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/docs/brand.html | 11 |
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> |