2020-08-03 21:40:11 +02:00
|
|
|
<header class="hero" style="background-image: url({{ page.image }});">
|
2020-08-05 12:55:29 +02:00
|
|
|
<div class="textcontainer">
|
2020-08-05 10:48:20 +02:00
|
|
|
<h1>{{ page.title }}</h1>
|
|
|
|
<p>{{ page.description }}</p>
|
|
|
|
{% if page.category == 'releases' %}
|
2020-08-05 11:05:28 +02:00
|
|
|
<p><a href="#plwrap" class="button">Listen</a></p>
|
2020-08-05 10:48:20 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if page.category == 'ramblings' %}
|
|
|
|
<p><a href="#read" class="button">Read</a></p>
|
|
|
|
{% endif %}
|
2020-08-05 10:55:57 +02:00
|
|
|
{% if page.url == '/404/' %}
|
|
|
|
<p><a href="/" class="button">Take me home</a></p>
|
|
|
|
{% endif %}
|
2020-08-05 10:48:20 +02:00
|
|
|
</div>
|
|
|
|
<div class="imagecontainer">
|
|
|
|
|
|
|
|
</div>
|
2020-08-05 12:00:02 +02:00
|
|
|
{% if page.video_path %}
|
2020-08-05 10:48:20 +02:00
|
|
|
<video autoplay muted loop id="myVideo">
|
2020-08-05 12:00:02 +02:00
|
|
|
<source src="{{ page.video_path }}" type="video/mp4">
|
2020-08-05 10:48:20 +02:00
|
|
|
</video>
|
|
|
|
{% endif %}
|
2020-08-03 21:40:11 +02:00
|
|
|
</header>
|