blog/themes/hello-friend/layouts/partials/header.html

20 lines
588 B
HTML
Raw Normal View History

2023-06-11 11:34:59 +02:00
<header class="header">
<span class="header__inner">
{{ partial "logo.html" . }}
<span class="header__right">
{{ if len $.Site.Menus }}
{{ partial "menu.html" . }}
<span class="menu-trigger">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M0 0h24v24H0z" fill="none" />
<path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" />
</svg>
</span>
{{ end }}
<span class="theme-toggle">
{{ partial "theme-icon.html" . }}
</span>
</span>
</span>
</header>