basspistol.com/_includes/header.html

37 lines
1.1 KiB
HTML
Raw Permalink Normal View History

2020-09-08 18:07:38 +02:00
{% include relBase.html %}
2020-09-25 11:35:37 +02:00
<header class="hero" style="background-image: url({{ relBase }}{{ page.image }});">
2020-09-08 18:07:38 +02:00
<div class="imagecontainer">
2020-09-08 20:04:08 +02:00
<h4>{{ page.title }}</h4>
2020-09-08 18:07:38 +02:00
</div>
2020-09-25 11:35:37 +02:00
<div class="splash">
<div class="splash-logo">
{% if page.category == 'releases' or page.category == 'highlights' %}
{% else %}
2020-11-29 23:17:04 +01:00
<a href="/"><img src="{{ site.icon }}" width="240px" alt="{{ site.title }} Logo" /></a>
2020-09-25 11:35:37 +02:00
{% endif %}
</div>
<div class="description">
<h1>{{ page.title }}</h1>
<p>{{ page.description }}</p>
{% if page.category == 'releases' %}
<p><a href="#play" class="button">🔊 Listen</a></p>
{% elsif page.category == 'highlights' %}
<p><a href="#read" class="button">👀 Read</a></p>
{% elsif page.url == '/404/' %}
<p><a href="/" class="button">🏡 Take me home</a></p>
{% elsif page.url == '/about/' %}
<p><a href="#read" class="button">👽 Saywhat?</a></p>
{% else %}
<p><a href="#read" class="button">🔥 Boom</a></p>
{% endif %}
</div>
2020-09-08 18:07:38 +02:00
</div>
2020-09-25 11:35:37 +02:00
2020-09-11 13:28:33 +02:00
2020-09-08 18:07:38 +02:00
2020-09-25 11:35:37 +02:00
</header>