We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 199c9fe commit d612cbdCopy full SHA for d612cbd
layouts/partials/header.html
@@ -23,7 +23,7 @@
23
{{ $currentPage := .}}
24
{{ range .Site.Menus.main }}
25
{{ $active := or (eq $currentPage.Title .Name) (or ($currentPage.HasMenuCurrent "main" .) ($currentPage.IsMenuCurrent "main" .)) }}
26
- {{ if and (eq hugo.Environment "production") (eq .Identifier "docs") }}
+ {{ if eq hugo.Environment "production"}}
27
<li class="main-navigation-links-item">
28
<a href="{{ .URL | relLangURL }}" class="main-navigation-links-link has-dropdown {{ if $active }}active{{ end }}">
29
<span>{{ .Name }}</span>
0 commit comments