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

@ -39,7 +39,7 @@ date: 2018-12-11 00:00:00
<div class="content">
<h1>{{ post.title }}</h1>
<p>{{ post.description }}</p>
{% if post.category == 'release' %}
{% if post.category == 'releases' %}
{% capture album_name -%}
{{ post.album }}
{%- endcapture %}
@ -75,7 +75,7 @@ date: 2018-12-11 00:00:00
<ul class="actions stacked">
<li><a href="{{ relBase }}{{ post.url }}"
class="button big wide {% if post.category == 'release' %}icon solid fa-volume-up{% endif %}">Cheggid out</a>
class="button big wide {% if post.category == 'releases' %}icon solid fa-volume-up{% endif %}">Cheggid out</a>
</li>
</ul>
</div>
@ -101,7 +101,7 @@ date: 2018-12-11 00:00:00
{% for album in sorted %}
<article>
<a href="{{ album.url }}" class="image">
<img src="https://media.basspistol.com/panix/{{ album.slug }}/{{ album.tracks[0].trackSlug }}.jpeg" alt="" /></a>
<img src="{{ site.mediaurl }}/{{ album.slug }}/{{ album.tracks[0].trackSlug }}.jpeg" alt="" /></a>
<div class="caption">
<h3>{{ album.title }}</h3>