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>

View file

@ -139,7 +139,7 @@ layout: default
{% assign round_seconds = track.format.duration | round %}{% assign minutes = round_seconds | divided_by: 60 %}{% assign leftover_seconds = minutes | times: 60 %}{{ minutes }}:{% assign seconds_without_zero = round_seconds | minus: leftover_seconds %}{% if seconds_without_zero < 10 %}0{% endif %}{{ seconds_without_zero }}
| <strong>{{ track.common.genre }}</strong></p>
<p>{{ track.common.year }}</p>
<p><a href="{{ relBase }}/tracks/{{ track.slug }}/" class="button"><span class="fas fa-play"></span> Play</a></p>
<p><a href="{{ relBase }}/albums/{{ track.slug }}/" class="button"><span class="fas fa-play"></span> Play</a></p>
</div>
</section>

View file

@ -10,10 +10,6 @@ layout: page
Build with [Jekyll](https://jekyllrb.com/){: rel="noopener"}{: target="_blank"}<br>Using [Publikator](https://github.com/terminalnetwork/publikator){: rel="noopener"}{: target="_blank"} the rusty metal heart of the Basspistol release machine developed by [aengl.](https://github.com/terminalnetwork/publikator/commits?author=aengl){: rel="noopener"}{: target="_blank"}<br>Facilitated with [CloudCannon, the cloud CMS for Jekyll](https://cloudcannon.com/){: rel="noopener"}{: target="_blank"}<br>Hosted and served by [Basspistol](https://basspistol.com){: rel="noopener"}{: target="_blank"} and [Alsenet](https://www.alsenet.com){: target="_blank"}{: rel="noopener"}
## Framework
Based on *Story* by [html5up.net](https://html5up.net){: rel="noopener"}{: target="_blank"} \| @ajlkn Free for personal and commercial use under the CCA 3.0 [license](https://html5up.net/license){: rel="noopener"}{: target="_blank"}
## Artwork
* 404 Photo by [Kaur Kristjan](https://unsplash.com/@badgerblack?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText){: target="_blank"}{: rel="noopener"}