summaryrefslogtreecommitdiff
path: root/layouts/partials/sidebar.html
diff options
context:
space:
mode:
authordigitalcraftsman <digitalcraftsman@users.noreply.github.com>2017-07-25 19:03:24 +0200
committerGitHub <noreply@github.com>2017-07-25 19:03:24 +0200
commitc336c335271c3f40d518eac0e8341340970c3283 (patch)
tree757358a48641480b0b47a39792f3a2de90711755 /layouts/partials/sidebar.html
parent5aab5b03ab910f0920b961ebda2f7f75f685b121 (diff)
parente199c3b532f168a2f65e91970544fd7782e133cb (diff)
Use .Site.BaseURL to generate sidebar "Home" link
Diffstat (limited to 'layouts/partials/sidebar.html')
-rw-r--r--layouts/partials/sidebar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 48fec6a..a582955 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -8,7 +8,7 @@
</div>
<ul class="sidebar-nav">
- <li><a href="/">Home</a> </li>
+ <li><a href="{{ .Site.BaseURL }}">Home</a> </li>
{{ range .Site.Menus.main }}
<li><a href="{{.URL}}"> {{ .Name }} </a></li>
{{end}}