diff options
author | digitalcraftsman | 2017-07-25 19:03:24 +0200 |
---|---|---|
committer | GitHub | 2017-07-25 19:03:24 +0200 |
commit | c336c335271c3f40d518eac0e8341340970c3283 (patch) | |
tree | 757358a48641480b0b47a39792f3a2de90711755 /layouts/partials/sidebar.html | |
parent | 5aab5b03ab910f0920b961ebda2f7f75f685b121 (diff) | |
parent | e199c3b532f168a2f65e91970544fd7782e133cb (diff) | |
download | hyde-c336c335271c3f40d518eac0e8341340970c3283.tar.lz hyde-c336c335271c3f40d518eac0e8341340970c3283.tar.zst hyde-c336c335271c3f40d518eac0e8341340970c3283.zip |
Use .Site.BaseURL to generate sidebar "Home" link
Diffstat (limited to 'layouts/partials/sidebar.html')
-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}} |