hugo-geekdoc/layouts/partials/site-header.html

17 lines
759 B
HTML
Raw Normal View History

2020-01-12 15:33:02 +01:00
<header class="gdoc-header">
<div class="container flex align-center justify-between">
2020-02-24 22:11:13 +01:00
{{ if .MenuEnabled }}
2020-01-12 15:33:02 +01:00
<label for="menu-control" class="gdoc-nav__control">
<svg class="icon menu"><use xlink:href="#menu"></use></svg>
<svg class="icon arrow-back"><use xlink:href="#arrow_back"></use></svg>
</label>
2020-02-24 22:11:13 +01:00
{{ end }}
<a class="gdoc-header__link" href="{{ .Root.Site.BaseURL }}">
2020-01-12 15:33:02 +01:00
<span class="gdoc-brand flex align-center">
2020-02-24 22:11:13 +01:00
<img class="gdoc-brand__img" src="{{ (default "brand.svg" .Root.Site.Params.GeekdocLogo) | relURL }}" alt="{{ .Root.Site.Title }}" width=38 height=38>
{{ .Root.Site.Title }}
2020-01-12 15:33:02 +01:00
</span>
</a>
</div>
</header>