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

github.com/themefisher/educenter-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsomratpro <abdulmonnafsomrat@gmail.com>2020-10-01 06:41:17 +0300
committersomratpro <abdulmonnafsomrat@gmail.com>2020-10-01 06:41:17 +0300
commit798ed133fb0d68d2b547e3c16f3682e181d57988 (patch)
tree3fe94ecee9e3e7d4929621673bd7678903d4a64b /layouts
parent8b40742d3b0b7e45d8fe52a0d1065e54b3fa32ad (diff)
parent6d7a605e69ea1b918ec7d5d98529588b2fca4903 (diff)
Merge branch 'master' of https://github.com/themefisher/educenter-hugo
Diffstat (limited to 'layouts')
-rwxr-xr-xlayouts/partials/header.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index bc34393..0901771 100755
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -44,17 +44,17 @@
{{ if .HasChildren }}
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown">
- {{ .Name }}
+ {{ i18n .Name }}
</a>
<div class="dropdown-menu">
{{ range .Children }}
- <a class="dropdown-item" href="{{ .URL | absLangURL }}">{{ .Name }}</a>
+ <a class="dropdown-item" href="{{ .URL | absLangURL }}">{{ i18n .Name }}</a>
{{ end }}
</div>
</li>
{{ else }}
<li class="nav-item">
- <a class="nav-link" href="{{ .URL | absLangURL }}">{{ .Name }}</a>
+ <a class="nav-link" href="{{ .URL | absLangURL }}">{{ i18n .Name }}</a>
</li>
{{ end }}
{{ end }}
@@ -86,4 +86,4 @@
</div>
</div>
</header>
-<!-- /header --> \ No newline at end of file
+<!-- /header -->