diff options
author | David Zukowski <6439050+davezuko@users.noreply.github.com> | 2018-10-18 10:32:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-18 10:32:49 +0300 |
commit | c6ae68943130c2e19f75dbec42febd16e78af311 (patch) | |
tree | efe2372390841ce697efd0a7ee18376433f42b23 /layouts | |
parent | ebb14fb8e4737db4afcebad1f2f6ea4d4e1a3c1e (diff) |
Remove extraneous slash from header partial
When using a baseURL such as "/", the extra slash in this partial leads to an invalid href of "//".
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/header.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 3ba1dae..401f2f4 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,8 +1,8 @@ <nav class="nav"> <div class="nav-container"> - <a href="{{ .Site.BaseURL }}/"> + <a href="{{ .Site.BaseURL }}"> <h2 class="nav-title">{{ .Site.Title }}</h2> </a> {{ partial "header-menu.html" . }} </div> - </nav>
\ No newline at end of file + </nav> |