diff options
author | Vivek Ghaisas <v.a.ghaisas@gmail.com> | 2017-05-26 23:17:53 +0300 |
---|---|---|
committer | Vivek Ghaisas <v.a.ghaisas@gmail.com> | 2017-05-26 23:17:53 +0300 |
commit | e199c3b532f168a2f65e91970544fd7782e133cb (patch) | |
tree | a8d74938a4240abebc98d8bf01768e75fbf5fc6f | |
parent | daead1a8b052cfe15d4f9e282b05b92bffc66c46 (diff) |
Use .Site.BaseURL to generate sidebar "Home" link
-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}} |