hugo-theme-hello-friend/layouts/partials/header.html

20 lines
586 B
HTML
Raw Permalink Normal View History

2018-07-20 19:14:22 +02:00
<header class="header">
<span class="header__inner">
{{ partial "logo.html" . }}
<span class="header__right">
2019-01-29 11:11:48 +01:00
{{ if len $.Site.Menus }}
2018-07-20 19:14:22 +02:00
{{ partial "menu.html" . }}
2018-07-25 00:37:54 +02:00
<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"/>
2019-01-06 11:23:25 +01:00
</svg>
2018-07-25 00:37:54 +02:00
</span>
2018-07-20 19:14:22 +02:00
{{ end }}
<span class="theme-toggle">
2019-01-06 11:23:25 +01:00
{{ partial "theme-icon.html" . }}
2018-07-20 19:14:22 +02:00
</span>
</span>
</span>
</header>