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

github.com/wayjam/hugo-theme-mixedpaper.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayJam So <imsuwj@gmail.com>2020-05-10 10:09:33 +0300
committerWayJam So <imsuwj@gmail.com>2020-05-10 10:09:33 +0300
commitfbd300cf50d808343bcc734dab284cdedbbb16fa (patch)
tree5cbf0b3c6819f9f9309592e33dd4831b38f4b465 /layouts
parentdb37fcad30733951834a12d45be557e141ff22b8 (diff)
fix: set a default baseurl
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 5937ff1..323abde 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -5,7 +5,7 @@
</h1>
<nav class="navbar">
<ul>
- <li><a href="{{ .Site.BaseURL }}">Home</a></li>
+ <li><a href="{{ .Site.BaseURL | default '/' }}">Home</a></li>
{{ range .Site.Menus.main }}
<li>
<a href="{{ .URL | relLangURL }}">