mirror of
https://github.com/GuerillaStudio/now-playing
synced 2024-11-26 15:21:40 +00:00
27 lines
948 B
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>
|