mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
01.53.2020 42aa983fe4dc4782893088b1c7d9ec6882cc8a67
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<div class="page-top animated fadeInDown">
    <ul class="nav">
        {{ $url := .RelPermalink }}
        {{ range .Site.Menus.main }}
        {{ $active := eq $url .URL }}
        <li><a {{if $active }}class="current"{{end}} href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a></li>
        {{ end }}
        {{ if .Site.IsMultiLingual }}
            {{ range $.Site.Home.AllTranslations }}
            <li><a href="{{ .Permalink }}" title="{{ .Language.LanguageName }}">{{ .Language.LanguageName }}</a></li>
            {{ end }}
            </ul>
        {{ end }}  
    </ul>
    <div class="themeswitcher">      
        <a class="theme-switch" title="Switch Theme">
            <i class="fa fa-adjust fa-fw" aria-hidden="true"></i>
        </a>
    </div>
</div>