This commit is contained in:
Set Hallstrom 2020-09-18 13:04:52 +02:00
parent 9055c146fd
commit 25afbe3b60
5 changed files with 30 additions and 16 deletions

View file

@ -1,18 +1,30 @@
<header class="hero" style="background-image: url({{ page.image }});">
<div class="textcontainer">
<h1>{{ page.title }}</h1>
<p>{{ page.description }}</p>
{% if page.category == 'releases' %}
<p><a href="#play" class="button">Listen</a></p>
{% endif %}
{% if page.category == 'ramblings' %}
<p><a href="#read" class="button">Read</a></p>
{% endif %}
{% if page.url == '/404/' %}
<p><a href="/" class="button">Take me home</a></p>
{% endif %}
</div>
<div class="imagecontainer">
<h4>{{ page.title }}</h4>
</div>
<div class="splash">
<div class="splash-logo">
<img src="{{ site.icon }}" width="240px" alt="{{ site.title }} Logo" />
</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>
</header>