aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/docs/brand.html
diff options
context:
space:
mode:
authorPaul Twohey <twohey@users.noreply.github.com>2019-09-01 19:02:45 -0700
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-09-05 22:22:14 +0200
commitd94b4196bac55ef67cff680258f8227418b9c3c0 (patch)
tree038d8ed1cd94a5a4d58bad14a961ecf441ad8ab2 /layouts/partials/docs/brand.html
parent6004c7edc3e43e9079cab50b39a2dd395294a22a (diff)
support relative URLs for brand logos
Diffstat (limited to 'layouts/partials/docs/brand.html')
-rw-r--r--layouts/partials/docs/brand.html2
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 }}