fix discog layout
This commit is contained in:
parent
a76ebe0478
commit
0063445163
|
@ -19,16 +19,22 @@ 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;">
|
||||
<section id="read" class="front-section">
|
||||
|
||||
<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>
|
||||
<div style="background-image:url({{ post.image }})">
|
||||
<p class="editor-link"><a href="cloudcannon:collections/_posts/{{ post.path }}" rel="nofollow"
|
||||
class="btn"><strong>✎</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 %}
|
||||
|
|
Loading…
Reference in a new issue