replace albumm output with post

This commit is contained in:
Set Hallstrom 2020-07-27 14:37:24 +02:00
parent 2a959e4e75
commit 58ccd3a4f3
4 changed files with 25 additions and 15 deletions

View file

@ -36,9 +36,9 @@ image: /images/pages/jack-hamilton-CMnNiQBkwBI-unsplash.jpg
</section>
{% assign sorted = site.albums | sort: 'date' | reverse %}
{% assign sorted = site.posts | sort: 'date' | reverse %}
{% for album in sorted %}
{% if album.category == 'releases' %}
<section class="spotlight style4 orient-{% cycle 'left', 'right' %} content-align-left image-position-center onscroll-image-fade-in" {% if forloop.index == 1 %}style="box-shadow: none;" {% endif %}>
<div class="content">
<h1>{{ album.title }}</h1>
@ -66,11 +66,11 @@ image: /images/pages/jack-hamilton-CMnNiQBkwBI-unsplash.jpg
</div>
<div class="image">
<img src="{{ site.mediaurl }}/{{ album.slug }}/{{ album.tracks[0].trackSlug }}.jpeg" alt="{{ album.title }}" title="{{ album.title }}" />
<img src="{{ album.image }}" alt="{{ album.title }}" title="{{ album.title }}" />
</div>
</section>
{% endif %}
{% endfor %}
{% include streamer.html %}