From 58bb86152cf4d42494d96bfc510dc86e89f67c94 Mon Sep 17 00:00:00 2001 From: Set Hallstrom Date: Tue, 28 Jul 2020 12:39:37 +0200 Subject: [PATCH] streamer better sized --- _includes/streamer.html | 293 ++++++++++++++++++++++------------------ 1 file changed, 161 insertions(+), 132 deletions(-) diff --git a/_includes/streamer.html b/_includes/streamer.html index a1c7a6d..c54942a 100644 --- a/_includes/streamer.html +++ b/_includes/streamer.html @@ -1,134 +1,32 @@ -
+ {% if page.collection == 'posts' %} - {% if page.category == 'releases' %} - {% if page.check_this_if_cannot_be_bought == false %} - -

Buy this release

-
- {% for shop in page.stores %} - {% if shop.download == true %} - {{ shop.name }} - {% endif %} - {% endfor %} -
- -

 

-
- - {% for shop in page.stores %} - {% if shop.download != true %} - - {{ shop.name }} - {% endif %} - {% endfor %} -
- - {% else %} - -

This release can't be bought

-

But you can find others here:

-
- {% for shop in site.data.stores %} - {% if shop.download == true %} - {{ shop.name }} - {% endif %} - {% endfor %} -
-

 

- -
- {% for shop in site.data.stores %} - {% if shop.download != true %} - {{ shop.name }} - {% endif %} - {% endfor %} -
- {% endif %} - {% endif %} - - {% elsif page.collection == 'tracks' %} - - - {% for post in site.posts %} - {% if post.album == page.albumSlug %} - {% if post.check_this_if_cannot_be_bought == false %} - -

Buy this track

-
- {% for shop in post.stores %} - {% if shop.download == true %} - {{ shop.name }} - {% endif %} - {% endfor %} -
- -

 

-
- - {% for shop in post.stores %} - {% if shop.download != true %} - - {{ shop.name }} - {% endif %} - {% endfor %} -
- {% else %} - -

This track can't be bought

-

But you can find others here:

-
- {% for shop in site.data.stores %} - {% if shop.download == true %} - {{ shop.name }} - {% endif %} - {% endfor %} -
-

 

- -
- {% for shop in site.data.stores %} - {% if shop.download != true %} - {{ shop.name }} - {% endif %} - {% endfor %} -
- {% break %} - - {% endif %} - {% endif %} - {% endfor %} - - -{% elsif page.collection == 'albums' %} - - -{% for post in site.posts %} -{% if post.album == page.slug %} -{% if post.check_this_if_cannot_be_bought == false %} - -

Buy this album

+{% if page.category == 'releases' %} +{% if page.check_this_if_cannot_be_bought == false %} +
+

Get this release

- {% for shop in post.stores %} + {% for shop in page.stores %} {% if shop.download == true %} {{ shop.name }} {% endif %} {% endfor %}
-

 

+

Stream it, follow, like and subscribe!

- {% for shop in post.stores %} + {% for shop in page.stores %} {% if shop.download != true %} - {{ shop.name }} + {{ shop.name }} {% endif %} {% endfor %}
+
{% else %} - -

This album can't be bought

-

But you can find others here:

+
+

This release can't be bought

+

Stream, follow, like and subscribe!

{% for shop in site.data.stores %} {% if shop.download == true %} @@ -136,7 +34,137 @@ {% endif %} {% endfor %}
-

 

+

 

+ +
+ {% for shop in site.data.stores %} + {% if shop.download != true %} + {{ shop.name }} + {% endif %} + {% endfor %} +
+
+{% endif %} +{% else %} +{% if page.check_this_if_cannot_be_bought == false %} +
+

Get this release

+
+ {% for shop in page.stores %} + {% if shop.download == true %} + {{ shop.name }} + {% endif %} + {% endfor %} +
+ +

Stream it, follow, like and subscribe!

+
+ + {% for shop in page.stores %} + {% if shop.download != true %} + + {{ shop.name }} + {% endif %} + {% endfor %} +
+
+{% else %} +{% endif %} +{% endif %} + + +{% elsif page.collection == 'tracks' %} + +
+ +{% for post in site.posts %} +{% if post.album == page.albumSlug %} +{% if post.check_this_if_cannot_be_bought == false %} + +

Get this track

+
+ {% for shop in post.stores %} + {% if shop.download == true %} + {{ shop.name }} + {% endif %} + {% endfor %} +
+ +

Stream it, follow, like and subscribe!

+
+ + {% for shop in post.stores %} + {% if shop.download != true %} + + {{ shop.name }} + {% endif %} + {% endfor %} +
+{% else %} + +

This track can't be bought

+

Stream, follow, like and subscribe!

+
+ {% for shop in site.data.stores %} + {% if shop.download == true %} + {{ shop.name }} + {% endif %} + {% endfor %} +
+

 

+ +
+ {% for shop in site.data.stores %} + {% if shop.download != true %} + {{ shop.name }} + {% endif %} + {% endfor %} +
+{% break %} + +{% endif %} +{% endif %} +{% endfor %} +
+ +{% elsif page.collection == 'albums' %} + +
+{% for post in site.posts %} +{% if post.album == page.slug %} +{% if post.check_this_if_cannot_be_bought == false %} + +

Get this album

+
+ {% for shop in post.stores %} + {% if shop.download == true %} + {{ shop.name }} + {% endif %} + {% endfor %} +
+ +

Stream it, follow, like and subscribe!

+
+ + {% for shop in post.stores %} + {% if shop.download != true %} + + {{ shop.name }} + {% endif %} + {% endfor %} +
+{% else %} + +

This album can't be bought

+

Stream, follow, like and subscribe!

+
+ {% for shop in site.data.stores %} + {% if shop.download == true %} + {{ shop.name }} + {% endif %} + {% endfor %} +
+

 

{% for shop in site.data.stores %} @@ -151,26 +179,27 @@ {% endif %} {% endfor %} - +
{% else %} -

Support {{ site.name }}

-

Pay for music here:

+
+

Support {{ site.title }}

+

Stream, follow, like and subscribe!

- {% for shop in site.data.stores %} - {% if shop.download == true %} - {{ shop.name }} - {% endif %} - {% endfor %} +{% for shop in site.data.stores %} +{% if shop.download == true %} +{{ shop.name }} +{% endif %} +{% endfor %}
-

 

+

 

- {% for shop in site.data.stores %} - {% if shop.download != true %} - {{ shop.name }} - {% endif %} - {% endfor %} -
+{% for shop in site.data.stores %} +{% if shop.download != true %} +{{ shop.name }} +{% endif %} +{% endfor %} + +
{% endif %} -
\ No newline at end of file