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:
Diffstat (limited to 'layouts/partials/header.html')
-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 -->