mirror of
https://github.com/foo-dogsquared/hugo-theme-more-contentful.git
synced 2025-01-31 04:58:14 +00:00
Gabriel Arazas
1b8b2cbce7
Not only does this make some proper RTL styling but also make it more responsive. The nice separators are gone though. :(
16 lines
434 B
HTML
16 lines
434 B
HTML
<header aria-label="Site header">
|
|
<nav class="site__nav-header">
|
|
<a class="site__title" href="{{ "" | absLangURL }}">{{ $.Site.Title }}</a>
|
|
<ul class="list">
|
|
{{ with $.Site.Menus.main }}
|
|
{{ range . -}}
|
|
<li>
|
|
<a href="{{ .URL | absLangURL }}">{{- .Name -}}</a>
|
|
</li>
|
|
{{ end }}
|
|
{{ end }}
|
|
</ul>
|
|
</nav>
|
|
{{- partial "components/theme-button.html" . }}
|
|
</header>
|