setto.basspistol.com/_includes/streamer.html

206 lines
9.2 KiB
HTML
Raw Normal View History

2020-07-28 12:51:23 +02:00
2020-07-24 14:34:09 +02:00
{% if page.collection == 'posts' %}
2020-07-28 12:51:23 +02:00
{% if page.category == 'releases' %}
{% if page.check_this_if_cannot_be_bought == false %}
<section class="streambox" style="padding: 40px;">
<h2 style="text-align: center;display: block;">Get this release</h2>
<div class="streamer">
{% for shop in page.stores %}
{% if shop.download == true %}
<a onclick="_paq.push(['trackEvent', 'StoreLink', '{{ shop.name | remove: " " }}']);" target="_blank" rel="noopener" href="{{ shop.url }}" alt="Stream from {{ shop.name }}" title="Stream from {{ shop.name }}" class="button small icon brands {{ shop.icon }}">{{ shop.name }}</a>
{% endif %}
{% endfor %}
</div>
2020-07-24 14:34:09 +02:00
2020-07-28 12:51:23 +02:00
<p style="text-align: center;display: block;margin-top:40px;">Stream it, follow, like and subscribe!</p>
<div class="streamer">
{% for shop in page.stores %}
{% if shop.download != true %}
<a onclick="_paq.push(['trackEvent', 'StoreLink', '{{ shop.name | remove: " " }}']);" style="flex: 0 0 45px;margin:10px; font-size: 45px;" target="_blank" rel="noopener" href="{{ shop.url }}" alt="Stream from {{ shop.name }}" title="Stream from {{ shop.name }}" class="icon style2 brands {{ shop.icon }}"><span class="label">{{ shop.name }}</span></a>
{% endif %}
{% endfor %}
</div>
</section>
{% else %}
<section class="streambox" style="padding: 40px;">
<h2 style="text-align: center;display: block;">This release can't be obtained</h2>
<p>Stream, follow, like and subscribe!</p>
<div class="streamer">
{% for shop in site.data.stores %}
{% if shop.download == true %}
<a onclick="_paq.push(['trackEvent', 'StoreLink', '{{ shop.name | remove: " " }}']);" target="_blank" rel="noopener" href="{{ shop.url }}" alt="Stream from {{ shop.name }}" title="Stream from {{ shop.name }}" class="button small icon brands {{ shop.icon }}">{{ shop.name }}</a>
{% endif %}
{% endfor %}
</div>
<h2 style="text-align: center;display: block;">&nbsp;</h2>
<div class="streamer">
{% for shop in site.data.stores %}
{% if shop.download != true %}
<a onclick="_paq.push(['trackEvent', 'StoreLink', '{{ shop.name | remove: " " }}']);" target="_blank" rel="noopener" href="{{ shop.url }}" alt="Stream from {{ shop.name }}" title="Stream from {{ shop.name }}" class="button small icon brands {{ shop.icon }}">{{ shop.name }}</a>
{% endif %}
{% endfor %}
</div>
</section>
{% endif %}
{% else %}
{% if page.check_this_if_cannot_be_bought == false %}
<section class="streambox" style="padding: 40px;">
<h2 style="text-align: center;display: block;">Get this release</h2>
2020-07-24 14:34:09 +02:00
<div class="streamer">
{% for shop in page.stores %}
{% if shop.download == true %}
2020-07-28 12:51:23 +02:00
<a onclick="_paq.push(['trackEvent', 'StoreLink', '{{ shop.name | remove: " " }}']);" target="_blank" rel="noopener" href="{{ shop.url }}" alt="Stream from {{ shop.name }}" title="Stream from {{ shop.name }}" class="button small icon brands {{ shop.icon }}">{{ shop.name }}</a>
2020-07-24 14:34:09 +02:00
{% endif %}
{% endfor %}
</div>
2020-07-26 16:30:06 +02:00
<p style="text-align: center;display: block;margin-top:40px;">Stream it, follow, like and subscribe!</p>
2020-07-24 14:34:09 +02:00
<div class="streamer">
{% for shop in page.stores %}
{% if shop.download != true %}
2020-07-27 15:35:28 +02:00
<a onclick="_paq.push(['trackEvent', 'StoreLink', '{{ shop.name | remove: " " }}']);" style="flex: 0 0 45px;margin:10px; font-size: 45px;" target="_blank" rel="noopener" href="{{ shop.url }}" alt="Stream from {{ shop.name }}" title="Stream from {{ shop.name }}" class="icon style2 brands {{ shop.icon }}"><span class="label">{{ shop.name }}</span></a>
2020-07-24 14:34:09 +02:00
{% endif %}
{% endfor %}
</div>
2020-07-28 12:51:23 +02:00
</section>
{% else %}
{% endif %}
{% endif %}
2020-07-24 14:34:09 +02:00
2020-07-28 12:51:23 +02:00
{% elsif page.collection == 'tracks' %}
2020-07-24 14:34:09 +02:00
2020-07-28 12:51:23 +02:00
<section class="streambox" style="padding: 40px;">
{% for post in site.posts %}
{% if post.album == page.albumSlug %}
{% if post.check_this_if_cannot_be_bought == false %}
<h2 style="text-align: center;display: block;">Get this track</h2>
<div class="streamer">
{% for shop in post.stores %}
{% if shop.download == true %}
<a onclick="_paq.push(['trackEvent', 'StoreLink', '{{ shop.name | remove: " " }}']);" target="_blank" rel="noopener" href="{{ shop.url }}" alt="Stream from {{ shop.name }}" title="Stream from {{ shop.name }}" class="button small icon brands {{ shop.icon }}">{{ shop.name }}</a>
2020-07-24 14:34:09 +02:00
{% endif %}
2020-07-28 12:51:23 +02:00
{% endfor %}
</div>
2020-07-24 14:34:09 +02:00
2020-07-28 12:51:23 +02:00
<p style="text-align: center;display: block;margin-top:40px;">Stream it, follow, like and subscribe!</p>
<div class="streamer">
2020-07-24 14:34:09 +02:00
2020-07-28 12:51:23 +02:00
{% for shop in post.stores %}
{% if shop.download != true %}
2020-07-24 14:34:09 +02:00
2020-07-28 12:51:23 +02:00
<a onclick="_paq.push(['trackEvent', 'StoreLink', '{{ shop.name | remove: " " }}']);" style="flex: 0 0 45px;margin:10px; font-size: 45px;" target="_blank" rel="noopener" href="{{ shop.url }}" alt="Stream from {{ shop.name }}" title="Stream from {{ shop.name }}" class="icon style2 brands {{ shop.icon }}"><span class="label">{{ shop.name }}</span></a>
{% endif %}
{% endfor %}
</div>
{% else %}
<h2 style="text-align: center;display: block;">This track can't be obtained</h2>
<p>Stream, follow, like and subscribe!</p>
<div class="streamer">
{% for shop in site.data.stores %}
{% if shop.download == true %}
<a onclick="_paq.push(['trackEvent', 'StoreLink', '{{ shop.name | remove: " " }}']);" target="_blank" rel="noopener" href="{{ shop.url }}" alt="Stream from {{ shop.name }}" title="Stream from {{ shop.name }}" class="button small icon brands {{ shop.icon }}">{{ shop.name }}</a>
2020-07-24 14:34:09 +02:00
{% endif %}
2020-07-28 12:51:23 +02:00
{% endfor %}
</div>
<h2 style="text-align: center;display: block;">&nbsp;</h2>
<div class="streamer">
{% for shop in site.data.stores %}
{% if shop.download != true %}
<a onclick="_paq.push(['trackEvent', 'StoreLink', '{{ shop.name | remove: " " }}']);" target="_blank" rel="noopener" href="{{ shop.url }}" alt="Stream from {{ shop.name }}" title="Stream from {{ shop.name }}" class="button small icon brands {{ shop.icon }}">{{ shop.name }}</a>
2020-07-24 14:34:09 +02:00
{% endif %}
{% endfor %}
2020-07-28 12:51:23 +02:00
</div>
{% break %}
2020-07-24 14:34:09 +02:00
2020-07-28 12:51:23 +02:00
{% endif %}
{% endif %}
{% endfor %}
</section>
2020-07-24 14:34:09 +02:00
{% elsif page.collection == 'albums' %}
2020-07-28 12:51:23 +02:00
<section class="streambox" style="padding: 40px;">
2020-07-24 14:34:09 +02:00
{% for post in site.posts %}
{% if post.album == page.slug %}
{% if post.check_this_if_cannot_be_bought == false %}
<h2 style="text-align: center;display: block;">Get this album</h2>
2020-07-24 14:34:09 +02:00
<div class="streamer">
{% for shop in post.stores %}
{% if shop.download == true %}
2020-07-28 12:51:23 +02:00
<a onclick="_paq.push(['trackEvent', 'StoreLink', '{{ shop.name | remove: " " }}']);" target="_blank" rel="noopener" href="{{ shop.url }}" alt="Stream from {{ shop.name }}" title="Stream from {{ shop.name }}" class="button small icon brands {{ shop.icon }}">{{ shop.name }}</a>
2020-07-24 14:34:09 +02:00
{% endif %}
{% endfor %}
</div>
2020-07-26 16:30:06 +02:00
<p style="text-align: center;display: block;margin-top:40px;">Stream it, follow, like and subscribe!</p>
2020-07-24 14:34:09 +02:00
<div class="streamer">
{% for shop in post.stores %}
{% if shop.download != true %}
2020-07-27 15:35:28 +02:00
<a onclick="_paq.push(['trackEvent', 'StoreLink', '{{ shop.name | remove: " " }}']);" style="flex: 0 0 45px;margin:10px; font-size: 45px;" target="_blank" rel="noopener" href="{{ shop.url }}" alt="Stream from {{ shop.name }}" title="Stream from {{ shop.name }}" class="icon style2 brands {{ shop.icon }}"><span class="label">{{ shop.name }}</span></a>
2020-07-24 14:34:09 +02:00
{% endif %}
{% endfor %}
</div>
{% else %}
2020-07-28 12:51:23 +02:00
<h2 style="text-align: center;display: block;">This album can't be obtained</h2>
2020-07-26 16:30:06 +02:00
<p>Stream, follow, like and subscribe!</p>
2020-07-24 14:34:09 +02:00
<div class="streamer">
{% for shop in site.data.stores %}
{% if shop.download == true %}
2020-07-28 12:51:23 +02:00
<a onclick="_paq.push(['trackEvent', 'StoreLink', '{{ shop.name | remove: " " }}']);" target="_blank" rel="noopener" href="{{ shop.url }}" alt="Stream from {{ shop.name }}" title="Stream from {{ shop.name }}" class="button small icon brands {{ shop.icon }}">{{ shop.name }}</a>
2020-07-24 14:34:09 +02:00
{% endif %}
{% endfor %}
</div>
<h2 style="text-align: center;display: block;">&nbsp;</h2>
2020-07-24 14:34:09 +02:00
<div class="streamer">
{% for shop in site.data.stores %}
{% if shop.download != true %}
2020-07-28 12:51:23 +02:00
<a onclick="_paq.push(['trackEvent', 'StoreLink', '{{ shop.name | remove: " " }}']);" target="_blank" rel="noopener" href="{{ shop.url }}" alt="Stream from {{ shop.name }}" title="Stream from {{ shop.name }}" class="button small icon brands {{ shop.icon }}">{{ shop.name }}</a>
2020-07-24 14:34:09 +02:00
{% endif %}
{% endfor %}
</div>
{% break %}
{% endif %}
{% endif %}
{% endfor %}
2020-07-28 12:51:23 +02:00
</section>
2020-07-24 14:34:09 +02:00
{% else %}
2020-07-28 12:51:23 +02:00
<section class="streambox" style="padding: 40px;">
<h2 style="text-align: center;display: block;">Support {{ site.title }}</h2>
2020-07-26 16:30:06 +02:00
<p>Stream, follow, like and subscribe!</p>
2020-07-24 14:34:09 +02:00
<div class="streamer">
2020-07-28 12:51:23 +02:00
{% for shop in site.data.stores %}
{% if shop.download == true %}
<a onclick="_paq.push(['trackEvent', 'StoreLink', '{{ shop.name | remove: " " }}']);" target="_blank" rel="noopener" href="{{ shop.url }}" alt="Stream from {{ shop.name }}" title="Stream from {{ shop.name }}" class="button small icon brands {{ shop.icon }}">{{ shop.name }}</a>
{% endif %}
{% endfor %}
2020-07-24 14:34:09 +02:00
</div>
<h2 style="text-align: center;display: block;">&nbsp;</h2>
2020-07-24 14:34:09 +02:00
<div class="streamer">
2020-07-28 12:51:23 +02:00
{% for shop in site.data.stores %}
{% if shop.download != true %}
<a onclick="_paq.push(['trackEvent', 'StoreLink', '{{ shop.name | remove: " " }}']);" target="_blank" rel="noopener" href="{{ shop.url }}" alt="Stream from {{ shop.name }}" title="Stream from {{ shop.name }}" class="button small icon brands {{ shop.icon }}">{{ shop.name }}</a>
{% endif %}
{% endfor %}
2020-07-24 14:34:09 +02:00
</div>
2020-07-28 12:51:23 +02:00
</section>
2020-07-24 14:34:09 +02:00
{% endif %}