From ac9e6b1461ae6c0d53c7860399b9c3db8c08ec3f Mon Sep 17 00:00:00 2001 From: Set Hallstrom Date: Tue, 21 Jul 2020 12:47:49 +0200 Subject: [PATCH] better streamer mechanism --- _includes/streamer.html | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/_includes/streamer.html b/_includes/streamer.html index ded4643..a1c7a6d 100644 --- a/_includes/streamer.html +++ b/_includes/streamer.html @@ -1,7 +1,7 @@
{% if page.collection == 'posts' %} {% if page.category == 'releases' %} - {% if page.stores[0].name != '' %} + {% if page.check_this_if_cannot_be_bought == false %}

Buy this release

@@ -51,7 +51,7 @@ {% for post in site.posts %} {% if post.album == page.albumSlug %} - {% if post.stores[0].name != '' %} + {% if post.check_this_if_cannot_be_bought == false %}

Buy this track

@@ -98,32 +98,13 @@ {% endif %} {% endfor %} - - - - - - - - - - - - - - - - - - - {% elsif page.collection == 'albums' %} {% for post in site.posts %} {% if post.album == page.slug %} -{% if post.stores[0].name != '' %} +{% if post.check_this_if_cannot_be_bought == false %}

Buy this album