From 769e27ce37c0b9a313549694e399bb74178b1805 Mon Sep 17 00:00:00 2001 From: sakrecoer Date: Sun, 5 Jul 2020 13:14:39 +0200 Subject: [PATCH] fixing track pages --- _includes/streamer.html | 18 ++++++------------ _layouts/track.html | 12 ++++++------ 2 files changed, 12 insertions(+), 18 deletions(-) diff --git a/_includes/streamer.html b/_includes/streamer.html index 26cca166..000448fa 100644 --- a/_includes/streamer.html +++ b/_includes/streamer.html @@ -45,8 +45,14 @@ {% else %}
+ {% if page.collection == 'albums' %} +

This release  can't be bought

+

But other releases are available here:

+ {% else %}

This track can't be bought

But other tracks are available here:

+ {% endif %} +
{% for shop in site.data.stores %} {% if shop.download == true %} @@ -54,18 +60,6 @@ {% endif %} {% endfor %}
-
{% endif %} {% endif %} \ No newline at end of file diff --git a/_layouts/track.html b/_layouts/track.html index 3f104e95..d1a3f275 100644 --- a/_layouts/track.html +++ b/_layouts/track.html @@ -30,7 +30,7 @@ layout: default
- {{ page.title }} logo + {{ page.title }} logo
{% if page.all.UNSYNCEDLYRICS != nil %} @@ -72,15 +72,15 @@ layout: default
{% if page.previous.url and page.lang == page.previous.lang %} -

 {{ page.previousTrack.common.title }} +

 {{ page.previousTrack.common.title }}

{% endif %}
{% if page.next.url and page.lang == page.next.lang %} -

 {{ page.nextTrack.common.title }}

+

 {{ page.nextTrack.common.title }}

{% endif %}
@@ -92,7 +92,7 @@ layout: default {% include footer.html %}