diff options
author | Paul Twohey <twohey@users.noreply.github.com> | 2019-09-01 19:02:45 -0700 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-09-05 22:22:14 +0200 |
commit | d94b4196bac55ef67cff680258f8227418b9c3c0 (patch) | |
tree | 038d8ed1cd94a5a4d58bad14a961ecf441ad8ab2 /layouts | |
parent | 6004c7edc3e43e9079cab50b39a2dd395294a22a (diff) |
support relative URLs for brand logos
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/docs/brand.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/docs/brand.html b/layouts/partials/docs/brand.html index 9a74dc0..bf327e6 100644 --- a/layouts/partials/docs/brand.html +++ b/layouts/partials/docs/brand.html @@ -1,7 +1,7 @@ <h2 class="book-brand"> <a href="{{ .Site.BaseURL }}"> {{- with .Site.Params.BookLogo -}} - <img src="{{ . }}" alt="Logo" /> + <img src="{{ . | relURL }}" alt="Logo" /> <span> {{- end -}} {{ .Site.Title }} |