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">
|
2023-05-12 01:30:18 +00:00
|
|
|
<a class="header__logo glitch--hover" data-text="Now Playing" href="/" title="Homepage" style="view-transition-name: header-title;">Now Playing</a>
|
|
|
|
<div class="header__tagline" style="view-transition-name: header-tagline;">
|
2019-11-27 17:06:26 +00:00
|
|
|
Great music should be shared
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-11-28 01:05:31 +00:00
|
|
|
<nav class="navigation" data-menu="navigation">
|
2023-05-12 01:30:18 +00:00
|
|
|
<a class="navigation__item {{ if .IsHome }}active{{ end }}" href="/" style="view-transition-name: nav-latest;">Latest</a>
|
2019-12-23 07:41:17 +00:00
|
|
|
{{ with .Site.GetPage "/" }}
|
|
|
|
{{ with .OutputFormats.Get "RSS" }}
|
2023-05-12 01:30:18 +00:00
|
|
|
<a class="navigation__item" href="{{ .RelPermalink }}" style="view-transition-name: nav-rss;">RSS</a>
|
2019-12-23 07:41:17 +00:00
|
|
|
{{ end }}
|
2019-12-07 21:02:48 +00:00
|
|
|
{{ end }}
|
2023-05-12 01:30:18 +00:00
|
|
|
<button class="navigation__item" data-random="btn" style="view-transition-name: header-random;">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>
|