setto.basspistol.com/_includes/header.html

37 lines
1.1 KiB
HTML
Raw Permalink Normal View History

2020-09-25 13:45:19 +02:00
{% include relBase.html %}
<header class="hero" style="background-image: url({{ relBase }}{{ page.image }});">
2020-09-11 19:02:26 +02:00
<div class="imagecontainer">
<h4>{{ page.title }}</h4>
</div>
2020-09-18 13:04:52 +02:00
<div class="splash">
<div class="splash-logo">
2020-09-18 13:16:32 +02:00
{% if page.category == 'releases' %}
2020-11-29 23:30:30 +01:00
<a href="/"><img src="{{ site.icon }}" width="240px" alt="{{ site.title }} Logo" /></a>
2020-09-18 13:16:32 +02:00
{% else %}
2020-11-29 23:30:30 +01:00
<a href="/"><img src="{{ site.icon }}" width="240px" alt="{{ site.title }} Logo" /></a>
2020-09-18 13:16:32 +02:00
{% endif %}
2020-09-18 13:04:52 +02:00
</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 == 'ramblings' %}
<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>
</div>
2020-09-18 11:52:21 +02:00
</header>