diff options
author | Mantas Vilčinskas <hi@mnts.lt> | 2020-08-11 13:17:05 +0300 |
---|---|---|
committer | Mantas Vilčinskas <hi@mnts.lt> | 2020-10-27 21:27:08 +0200 |
commit | 288fd4215a072f952f51e8dd6973484fb5ed1273 (patch) | |
tree | aaf970e1c82ff51bb8f90f35763bc7ef5d7354e2 /layouts/partials/header.html | |
parent | 30dbc121b522bb9626f730b2e351c46e6750f02c (diff) |
Fix #126 - support for non-root dir
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 242c4f3..3f58ad4 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -5,7 +5,7 @@ {{ if .Site.Params.useLargeHeaderDesign }} <div class="header header--large"> <div class="contain contain--more center"> - <a href="/" class="header__logo"> + <a href="{{ .Site.BaseURL }}" class="header__logo"> {{ if .Site.Params.useLogo }} <img src="{{ .Site.Params.logo }}" alt="{{ .Site.Title }}"> {{ else }} @@ -17,7 +17,7 @@ {{ else }} <div class="header"> <div class="contain"> - <a href="/" class="header__logo header__logo--small"> + <a href="{{ .Site.BaseURL }}" class="header__logo header__logo--small"> {{ if .Site.Params.useLogo }} <img src="{{ .Site.Params.logo }}" alt="{{ .Site.Title }}"> {{ else }} |