media url and category update

This commit is contained in:
Set Hallstrom 2020-07-28 13:08:27 +02:00
parent 2f0ab293cf
commit c9205d9138
8 changed files with 161 additions and 71 deletions

View file

@ -59,13 +59,13 @@ image: /images/guillaume-techer-jm9p0mdpo6a-unsplash.jpg
<br />
<ul class="actions stacked">
<li><a href="{{ album.url }}" class="button big wide {% if post.category == 'release' %}icon solid fa-volume-up{% endif %}">Cheggid out</a>
<li><a href="{{ album.url }}" class="button big wide {% if post.category == 'releases' %}icon solid fa-volume-up{% endif %}">Cheggid out</a>
</li>
</ul>
</div>
<div class="image">
<img src="https://media.basspistol.com/panix/{{ album.slug }}/{{ album.tracks[0].trackSlug }}.jpeg" alt="{{ album.title }}" title="{{ album.title }}" />
<img src="{{ site.mediaurl }}/{{ album.slug }}/{{ album.tracks[0].trackSlug }}.jpeg" alt="{{ album.title }}" title="{{ album.title }}" />
</div>
</section>