media url and category update
This commit is contained in:
parent
2f0ab293cf
commit
c9205d9138
8 changed files with 161 additions and 71 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue