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

28 lines
948 B
HTML
Raw Normal View History

2019-11-28 01:05:31 +00:00
{{ if .IsHome }}
<header class="header header--home">
{{ else }}
<header class="header">
{{ end }}
2019-11-27 17:06:26 +00:00
<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>
2019-11-28 01:05:31 +00:00
<nav class="navigation" data-menu="navigation">
2019-12-03 19:53:14 +00:00
<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 }}
2019-12-07 21:02:48 +00:00
{{ end }}
2019-11-28 01:05:31 +00:00
<button class="navigation__item" data-random="btn">Random</button>
2019-11-27 17:06:26 +00:00
</nav>
2019-11-28 01:05:31 +00:00
<div class="navigation__mobileOverlay" data-menu="overlay"></div>
<button class="navigation__mobileBtn" data-menu="btn">
2019-11-27 17:06:26 +00:00
Menu
</button>
</div>
</header>