mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-22 03:19:25 +00:00
support relative URLs for brand logos
This commit is contained in:
parent
6004c7edc3
commit
d94b4196ba
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user