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

github.com/carsonip/hugo-theme-minos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorv1ne <v1ne2go@gmail.com>2019-11-20 00:58:31 +0300
committerCarson Ip <carsonip@users.noreply.github.com>2019-11-29 18:04:51 +0300
commit4856422a5873ae07e265b6abd042d1fa813f5484 (patch)
treef702fe8c4ef05435ead58f4c12c342233682c6a6
parent13c6e94275d25285d63c161b8f55a4bca90e936d (diff)
Header: Use the translated page's URL instead of the untranslated one
-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 e76bb2f..f7dca26 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -2,7 +2,7 @@
<div id="header-outer" class="outer">
<div id="header-inner" class="inner">
<a id="main-nav-toggle" class="nav-icon" href="javascript:;"></a>
- <a id="logo" class="logo-text" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
+ <a id="logo" class="logo-text" href="{{ .Site.Home.Permalink }}">{{ .Site.Title }}</a>
<nav id="main-nav">
{{ range .Site.Menus.main }}
<a class="main-nav-link" href="{{ .URL }}">{{ .Name }}</a>