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:
-rw-r--r--layouts/partials/header-menu.html4
-rw-r--r--layouts/partials/header.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/header-menu.html b/layouts/partials/header-menu.html
index f769487..8bcdea4 100644
--- a/layouts/partials/header-menu.html
+++ b/layouts/partials/header-menu.html
@@ -1,4 +1,4 @@
<ul>
- <li><a href="{{ .Site.BaseURL }}about">{{ i18n "about" }}</a></li>
- <li><a href="{{ .Site.BaseURL }}">{{ i18n "posts" }}</a></li>
+ <li><a href="{{ "about" | relURL }}">{{ i18n "about" }}</a></li>
+ <li><a href="{{ "/" | relURL }}">{{ i18n "posts" }}</a></li>
</ul> \ No newline at end of file
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 401f2f4..487be9d 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,6 +1,6 @@
<nav class="nav">
<div class="nav-container">
- <a href="{{ .Site.BaseURL }}">
+ <a href="{{ "/" | relURL }}">
<h2 class="nav-title">{{ .Site.Title }}</h2>
</a>
{{ partial "header-menu.html" . }}