support relative URLs for brand logos
This commit is contained in:
parent
6004c7edc3
commit
d94b4196ba
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
<h2 class="book-brand">
|
<h2 class="book-brand">
|
||||||
<a href="{{ .Site.BaseURL }}">
|
<a href="{{ .Site.BaseURL }}">
|
||||||
{{- with .Site.Params.BookLogo -}}
|
{{- with .Site.Params.BookLogo -}}
|
||||||
<img src="{{ . }}" alt="Logo" />
|
<img src="{{ . | relURL }}" alt="Logo" />
|
||||||
<span>
|
<span>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{ .Site.Title }}
|
{{ .Site.Title }}
|
||||||
|
|
Loading…
Reference in a new issue