fix discog layout

This commit is contained in:
Set Sakrecoer 2021-01-07 11:37:41 +01:00
parent a76ebe0478
commit 0063445163

View file

@ -19,17 +19,23 @@ image: /images/pages/jack-hamilton-CMnNiQBkwBI-unsplash.jpg
{% assign sorted = site.posts | sort: 'date' | reverse %}
{% for post in sorted %}
{% if post.category == 'releases' %}
<section id="read" class="news" style="margin:0;">
<div style="background-image:url({{ relBase }}{{ post.image }}"></div>
<div class="description">
<h2>{{ post.title }}</h2>
<p><strong>{% include forloop-dates.html %}</strong></p>
<p>{{ post.description }}</p>
<p><a href="{{ relBase }}{{ post.url }}#play" class="button">🔊 Listen</a></p>
</div>
<section id="read" class="front-section">
<div style="background-image:url({{ post.image }})">
<p class="editor-link"><a href="cloudcannon:collections/_posts/{{ post.path }}" rel="nofollow"
class="btn"><strong>&#9998;</strong> Edit Post</a></p>
</div>
<div class="description">
<div class="container">
<h2>{{ post.title }}</h2>
<p><strong>{% for tag in post.tags %}{{ tag }}{% endfor %} released {% include forloop-dates.html %}</strong></p>
<p>{{ post.description }}</p>
<p><a href="{{ relBase }}{{ post.url }}" class="button">🔊 Listen</a></p>
</div>
</div>
</section>
{% endif %}
{% endfor %}
{% endfor %}