diff options
author | digitalcraftsman <digitalcraftsman@users.noreply.github.com> | 2017-07-25 19:03:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-25 19:03:24 +0200 |
commit | c336c335271c3f40d518eac0e8341340970c3283 (patch) | |
tree | 757358a48641480b0b47a39792f3a2de90711755 /layouts | |
parent | 5aab5b03ab910f0920b961ebda2f7f75f685b121 (diff) | |
parent | e199c3b532f168a2f65e91970544fd7782e133cb (diff) |
Use .Site.BaseURL to generate sidebar "Home" link
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/sidebar.html | 2 |
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}} |