fix GH-332

Signed-off-by: Junjie Yuan <junjieraw@gmail.com>
This commit is contained in:
Junjie Yuan 2020-08-26 13:22:13 +08:00
parent 03fd7d9da0
commit c07cb13029
No known key found for this signature in database
GPG Key ID: 09B84BDE5F4124D4

View File

@ -2,7 +2,7 @@
<div class="flex-l justify-between items-center center">
<a href="{{ .Site.Home.RelPermalink }}" class="f3 fw2 hover-white no-underline white-90 dib">
{{ with .Site.Params.site_logo }}
<img src="{{ . }}" class="w100 mw5-ns" alt="{{ $.Site.Title }}" />
<img src="{{ relURL ($.Site.Params.site_logo) }}" class="w100 mw5-ns" alt="{{ $.Site.Title }}" />
{{ else }}
{{ .Site.Title }}
{{ end }}