Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EmielH/tale-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zukowski <6439050+davezuko@users.noreply.github.com>2018-10-18 10:32:49 +0300
committerGitHub <noreply@github.com>2018-10-18 10:32:49 +0300
commitc6ae68943130c2e19f75dbec42febd16e78af311 (patch)
treeefe2372390841ce697efd0a7ee18376433f42b23 /layouts
parentebb14fb8e4737db4afcebad1f2f6ea4d4e1a3c1e (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.html4
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>