1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-12-21 11:01:56 +00:00
now-playing/layouts/partials/header.html

27 lines
948 B
HTML

{{ if .IsHome }}
<header class="header header--home">
{{ else }}
<header class="header">
{{ end }}
<div class="container">
<div class="header__left">
<a class="header__logo glitch--hover" data-text="Now Playing" href="/" title="Homepage">Now Playing</a>
<div class="header__tagline">
Great music should be shared
</div>
</div>
<nav class="navigation" data-menu="navigation">
<a class="navigation__item {{ if .IsHome }}active{{ end }}" href="/">Latest</a>
{{ with .Site.GetPage "/" }}
{{ with .OutputFormats.Get "RSS" }}
<a class="navigation__item" href="{{ .RelPermalink }}">RSS</a>
{{ end }}
{{ end }}
<button class="navigation__item" data-random="btn">Random</button>
</nav>
<div class="navigation__mobileOverlay" data-menu="overlay"></div>
<button class="navigation__mobileBtn" data-menu="btn">
Menu
</button>
</div>
</header>