This commit is contained in:
sakrecoer 2020-09-11 19:13:45 +02:00
parent f15d28a769
commit dbc81f2102
3 changed files with 10 additions and 8 deletions

View file

@ -19,11 +19,17 @@
<h1>{{ page.title }}</h1>
{% if page.category == 'releases' %}
<h4>by <strong>{{ page.artist }}</strong></h4>
{% for album in site.albums %}
{% if album.slug == page.album %}
<h4>by <strong>{{ album.artists }}</strong></h4>
{% endif %}
{% unless page.category == 'releases' %}
{% endfor %}
{% endif %}
<p>{{ page.description }}</p>
{% endunless %}
</div>
</div>