blob: 8c148f8c1ad446cacf708323866c8b868f03f2c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<!-- Custom or default site title -->
{{ if (templates.Exists "partials/custom/site-title.html") }}
{{ partial "custom/site-title" . }}
{{ else }}
<a href="{{ .Site.BaseURL | relLangURL }}">{{ .Site.Title }}</a>
{{ end }}
<!-- Menu -->
{{ if .Site.Menus.main }}
{{ with .Site.Menus.main }}
<nav aria-label="{{ T "ariaMainMenu" }}">
<ul>
{{ range . }}
<li>
<a class="btn" href="{{ .URL | relLangURL }}">{{ .Name }}</a>
</li>
{{ end }}
</ul>
</nav>
{{ end }}
{{ end }}
|