diff options
author | 7heo <7heo@users.noreply.github.com> | 2020-05-11 11:57:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 11:57:50 +0300 |
commit | bd3c807730857e307abcfbb769396d6780384210 (patch) | |
tree | ac6909f32eb78ac8f6a97a11c20d37fd798f612b | |
parent | 9d2cf82191277c5d3e7b0eae89aa3b0f1cf4be30 (diff) |
Fix the URL of the logo link to the website's root (#5)
The link to the website's root was using '/', which may be working in the majority of cases (i.e. 50+%) but will surely be breaking a considerable number of installs. This commit fixes that.
-rw-r--r-- | layouts/partials/navigation.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/navigation.html b/layouts/partials/navigation.html index 17f5baa..25c6b5f 100644 --- a/layouts/partials/navigation.html +++ b/layouts/partials/navigation.html @@ -4,7 +4,7 @@ <div class="container"> <div class="padder"> <div class="navbar animated slideInDown"> - <div class="logo"><a href="/"><img src="{{.Site.Params.logoImage | relURL}}" alt="{{.Site.Params.logoImageAlt}}"></a></div> + <div class="logo"><a href="{{.Site.BaseURL}}"><img src="{{.Site.Params.logoImage | relURL}}" alt="{{.Site.Params.logoImageAlt}}"></a></div> <div class="burger-wrap"> <div class="burger"> <div class="top"></div> @@ -21,4 +21,4 @@ </div> </div> </div> -</div>
\ No newline at end of file +</div> |