aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/header.html
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2020-08-12 15:18:17 +0300
committerMantas Vilčinskas <hi@mnts.lt>2020-10-27 21:27:08 +0200
commit1428e835a78d08799257c2c59e66e5f4e8c4334e (patch)
treede1f74c8d8d064f69ae253be973d558509673b02 /layouts/partials/header.html
parent00f5d17147a4ae7add3c487fb9784e9f1473c3b4 (diff)
Years look better on homepage. Relative logo URL #126
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 3f58ad4..e4cb2a1 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -7,7 +7,7 @@
<div class="contain contain--more center">
<a href="{{ .Site.BaseURL }}" class="header__logo">
{{ if .Site.Params.useLogo }}
- <img src="{{ .Site.Params.logo }}" alt="{{ .Site.Title }}">
+ <img src="{{ relURL .Site.Params.logo }}" alt="{{ .Site.Title }}">
{{ else }}
<h1>{{ .Site.Title }}</h1>
{{ end }}
@@ -19,7 +19,7 @@
<div class="contain">
<a href="{{ .Site.BaseURL }}" class="header__logo header__logo--small">
{{ if .Site.Params.useLogo }}
- <img src="{{ .Site.Params.logo }}" alt="{{ .Site.Title }}">
+ <img src="{{ relURL .Site.Params.logo }}" alt="{{ .Site.Title }}">
{{ else }}
<h1>{{ .Site.Title }}</h1>
{{ end }}