conventionalcommits.org/themes/conventional-commits/layouts/partials/header.html

31 lines
1020 B
HTML
Raw Normal View History

2018-09-13 22:36:30 +02:00
<header class="header">
<div class="container">
2021-07-12 22:43:00 +02:00
<a href="/">
<div class="logo"></div>
</a>
2018-09-13 22:36:30 +02:00
<ul class="header__menu">
<li class="header__menu-item dropdown">
<button class="dropdown__label">Versions</button>
<ul class="dropdown__options">
{{ range .Site.Params.Versions.List }}
<li class="dropdown__option"><a href="/{{ $.Site.Language }}/{{ . }}">{{ . }}</a></li>
{{ end }}
</ul>
</li>
<li class="header__menu-item dropdown">
<button class="dropdown__label">Languages</button>
<ul class="dropdown__options">
{{ range .Site.Home.AllTranslations }}
<li class="dropdown__option"><a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li>
{{ end }}
</ul>
</li>
2021-07-12 22:43:00 +02:00
<li class="header__menu-item dropdown">
<button class="dropdown__label">
<a href="/en/about" class="no-style-a">About</a>
</button>
</li>
2018-09-13 22:36:30 +02:00
</ul>
</div>
</header>