fix linking

This commit is contained in:
sakrecoer 2020-10-16 13:12:10 +02:00
parent b255d4052f
commit 3647c636dd
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ collections:
_disable_add: true _disable_add: true
tracks: tracks:
output: true output: true
permalink: /albums/:path/ permalink: /:path/
sort_by: common.year sort_by: common.year
_disable_add: true _disable_add: true
authors: authors:

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 }} {% 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> | <strong>{{ track.common.genre }}</strong></p>
<p>{{ track.common.year }}</p> <p>{{ track.common.year }}</p>
<p><a href="{{ relBase }}/tracks/{{ track.slug }}/" class="button">🔊 Play</a></p> <p><a href="{{ relBase }}/{{ track.slug }}/" class="button">🔊 Play</a></p>
{% if track.all.UNSYNCEDLYRICS and track.all.USLT %} {% if track.all.UNSYNCEDLYRICS and track.all.USLT %}
<p> <p>