streamer on 3rd part store objects

This commit is contained in:
Set Hallstrom 2020-07-28 12:37:08 +02:00
parent bbf68c40f9
commit 31dfa2ccf2
29 changed files with 178 additions and 77 deletions

View file

@ -1,9 +1,9 @@
<section class="streambox" style="padding: 40px;">
{% if page.collection == 'posts' %} {% if page.collection == 'posts' %}
{% if page.category == 'releases' %} {% if page.category == 'releases' %}
{% if page.stores[0].name != '' %} {% if page.check_this_if_cannot_be_bought == false %}
<section class="streambox" style="padding: 40px;">
<h3 style="text-align: center;display: block;">Buy this release</h3> <h2 style="text-align: center;display: block;">Get this release</h2>
<div class="streamer"> <div class="streamer">
{% for shop in page.stores %} {% for shop in page.stores %}
{% if shop.download == true %} {% if shop.download == true %}
@ -12,21 +12,21 @@
{% endfor %} {% endfor %}
</div> </div>
<h3 style="text-align: center;display: block;margin-top:40px;">&nbsp;</h3> <p style="text-align: center;display: block;margin-top:40px;">Stream it, follow, like and subscribe!</p>
<div class="streamer"> <div class="streamer">
{% for shop in page.stores %} {% for shop in page.stores %}
{% if shop.download != true %} {% if shop.download != true %}
<a onclick="_paq.push(['trackEvent', 'StoreLink', '{{ shop.name | remove: " " }}']);" style="flex: 0 0 75px;margin:10px; font-size: 75px;" 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> <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 %} {% endif %}
{% endfor %} {% endfor %}
</div> </div>
</section>
{% else %} {% else %}
<section class="streambox" style="padding: 40px;">
<h3 style="text-align: center;display: block;">This release can't be bought</h3> <h2 style="text-align: center;display: block;">This release can't be bought</h2>
<p>But you can find others here:</p> <p>Stream, follow, like and subscribe!</p>
<div class="streamer"> <div class="streamer">
{% for shop in site.data.stores %} {% for shop in site.data.stores %}
{% if shop.download == true %} {% if shop.download == true %}
@ -34,7 +34,7 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</div> </div>
<h3 style="text-align: center;display: block;">&nbsp;</h3> <h2 style="text-align: center;display: block;">&nbsp;</h2>
<div class="streamer"> <div class="streamer">
{% for shop in site.data.stores %} {% for shop in site.data.stores %}
@ -43,17 +43,45 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</div> </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>
<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 icon brands {{ shop.icon }}">{{ shop.name }}</a>
{% endif %}
{% endfor %}
</div>
<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 %}
{% endif %} {% endif %}
{% endif %} {% endif %}
{% elsif page.collection == 'tracks' %} {% elsif page.collection == 'tracks' %}
<section class="streambox" style="padding: 40px;">
{% for post in site.posts %} {% for post in site.posts %}
{% if post.album == page.albumSlug %} {% if post.album == page.albumSlug %}
{% if post.stores[0].name != '' %} {% if post.check_this_if_cannot_be_bought == false %}
<h3 style="text-align: center;display: block;">Buy this track</h3> <h2 style="text-align: center;display: block;">Get this track</h2>
<div class="streamer"> <div class="streamer">
{% for shop in post.stores %} {% for shop in post.stores %}
{% if shop.download == true %} {% if shop.download == true %}
@ -62,20 +90,20 @@
{% endfor %} {% endfor %}
</div> </div>
<h3 style="text-align: center;display: block;margin-top:40px;">&nbsp;</h3> <p style="text-align: center;display: block;margin-top:40px;">Stream it, follow, like and subscribe!</p>
<div class="streamer"> <div class="streamer">
{% for shop in post.stores %} {% for shop in post.stores %}
{% if shop.download != true %} {% if shop.download != true %}
<a onclick="_paq.push(['trackEvent', 'StoreLink', '{{ shop.name | remove: " " }}']);" style="flex: 0 0 75px;margin:10px; font-size: 75px;" 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> <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 %} {% endif %}
{% endfor %} {% endfor %}
</div> </div>
{% else %} {% else %}
<h3 style="text-align: center;display: block;">This track can't be bought</h3> <h2 style="text-align: center;display: block;">This track can't be bought</h2>
<p>But you can find others here:</p> <p>Stream, follow, like and subscribe!</p>
<div class="streamer"> <div class="streamer">
{% for shop in site.data.stores %} {% for shop in site.data.stores %}
{% if shop.download == true %} {% if shop.download == true %}
@ -83,7 +111,7 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</div> </div>
<h3 style="text-align: center;display: block;">&nbsp;</h3> <h2 style="text-align: center;display: block;">&nbsp;</h2>
<div class="streamer"> <div class="streamer">
{% for shop in site.data.stores %} {% for shop in site.data.stores %}
@ -97,15 +125,16 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</section>
{% elsif page.collection == 'albums' %} {% elsif page.collection == 'albums' %}
<section class="streambox" style="padding: 40px;">
{% for post in site.posts %} {% for post in site.posts %}
{% if post.album == page.slug %} {% if post.album == page.slug %}
{% if post.stores[0].name != '' %} {% if post.check_this_if_cannot_be_bought == false %}
<h3 style="text-align: center;display: block;">Buy this album</h3> <h2 style="text-align: center;display: block;">Get this album</h2>
<div class="streamer"> <div class="streamer">
{% for shop in post.stores %} {% for shop in post.stores %}
{% if shop.download == true %} {% if shop.download == true %}
@ -114,20 +143,20 @@
{% endfor %} {% endfor %}
</div> </div>
<h3 style="text-align: center;display: block;margin-top:40px;">&nbsp;</h3> <p style="text-align: center;display: block;margin-top:40px;">Stream it, follow, like and subscribe!</p>
<div class="streamer"> <div class="streamer">
{% for shop in post.stores %} {% for shop in post.stores %}
{% if shop.download != true %} {% if shop.download != true %}
<a onclick="_paq.push(['trackEvent', 'StoreLink', '{{ shop.name | remove: " " }}']);" style="flex: 0 0 75px;margin:10px; font-size: 75px;" 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> <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 %} {% endif %}
{% endfor %} {% endfor %}
</div> </div>
{% else %} {% else %}
<h3 style="text-align: center;display: block;">This album can't be bought</h3> <h2 style="text-align: center;display: block;">This album can't be bought</h2>
<p>But you can find others here:</p> <p>Stream, follow, like and subscribe!</p>
<div class="streamer"> <div class="streamer">
{% for shop in site.data.stores %} {% for shop in site.data.stores %}
{% if shop.download == true %} {% if shop.download == true %}
@ -135,7 +164,7 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</div> </div>
<h3 style="text-align: center;display: block;">&nbsp;</h3> <h2 style="text-align: center;display: block;">&nbsp;</h2>
<div class="streamer"> <div class="streamer">
{% for shop in site.data.stores %} {% for shop in site.data.stores %}
@ -150,11 +179,12 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</section>
{% else %} {% else %}
<h3 style="text-align: center;display: block;">Support {{ site.name }}</h3> <section class="streambox" style="padding: 40px;">
<p>Subsrcibe, like and follow!</p> <h2 style="text-align: center;display: block;">Support {{ site.title }}</h2>
<p>Stream, follow, like and subscribe!</p>
<div class="streamer"> <div class="streamer">
{% for shop in site.data.stores %} {% for shop in site.data.stores %}
{% if shop.download == true %} {% if shop.download == true %}
@ -162,7 +192,7 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</div> </div>
<h3 style="text-align: center;display: block;">&nbsp;</h3> <h2 style="text-align: center;display: block;">&nbsp;</h2>
<div class="streamer"> <div class="streamer">
{% for shop in site.data.stores %} {% for shop in site.data.stores %}
@ -171,5 +201,5 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</div> </div>
{% endif %}
</section> </section>
{% endif %}

View file

@ -355,6 +355,7 @@
</div> </div>
</div> </div>
</section> </section>
{% include streamer.html %}
<section class="wrapper style1 align-center"> <section class="wrapper style1 align-center">
<div class="inner"> <div class="inner">
<div class="index align-left"> <div class="index align-left">

View file

@ -10,6 +10,7 @@ description: 'Psykedelisk Pop, by reSet Sakrecoer is the journey of a boyish Pia
uid: 'BPIST001' uid: 'BPIST001'
image: '/assets/img/PsykedeliskPopFront.jpg' image: '/assets/img/PsykedeliskPopFront.jpg'
download: 'https://archive.org/download/BPIST001/BPIST001_archive.torrent' download: 'https://archive.org/download/BPIST001/BPIST001_archive.torrent'
check_this_if_cannot_be_bought: false
stores: stores:
- name: Bandcamp - name: Bandcamp
url: 'https://shop.basspistol.com/album/psykedelisk-pop' url: 'https://shop.basspistol.com/album/psykedelisk-pop'

View file

@ -9,6 +9,7 @@ author:
artist: synapset artist: synapset
category: releases category: releases
album: musical-tourism album: musical-tourism
check_this_if_cannot_be_bought: false
tags: tags:
- internal - internal
- albums - albums

View file

@ -10,6 +10,7 @@ description: 'Kick N Base Made In Barcelona by Holyhertz is a collaborative conc
uid: BPIST003 uid: BPIST003
image: '/assets/img/holyhertzcover.jpg' image: '/assets/img/holyhertzcover.jpg'
download: 'https://archive.org/download/BPIST003/BPIST003_archive.torrent' download: 'https://archive.org/download/BPIST003/BPIST003_archive.torrent'
check_this_if_cannot_be_bought: false
stores: stores:
- name: Spotify - name: Spotify
url: 'https://open.spotify.com/album/7v8toNpRj6DiAddtavpMvS' url: 'https://open.spotify.com/album/7v8toNpRj6DiAddtavpMvS'

View file

@ -11,6 +11,7 @@ image: '/assets/img/travel3.jpg'
download: '' download: ''
link: 'https://archive.org/details/BPIST-V005' link: 'https://archive.org/details/BPIST-V005'
album: album:
check_this_if_cannot_be_bought: true
stores: stores:
- name: - name:
url: url:

View file

@ -10,7 +10,7 @@ uid: BPIST005
image: /assets/img/DrTikov_Headcleaner.jpg image: /assets/img/DrTikov_Headcleaner.jpg
download: https://archive.org/download/BPIST005/BPIST005_archive.torrent download: https://archive.org/download/BPIST005/BPIST005_archive.torrent
description: 'Headcleaner by Dr. Tikov. A minimalistic opus of dubish Russian techno, made in Barcelona.' description: 'Headcleaner by Dr. Tikov. A minimalistic opus of dubish Russian techno, made in Barcelona.'
stores: check_this_if_cannot_be_bought: false
stores: stores:
- name: Spotify - name: Spotify
url: 'https://play.google.com/store/music/album/Dr_Tikov_Headcleaner?id=B6ydbpvz5oflyh67rnbdeoqgkna' url: 'https://play.google.com/store/music/album/Dr_Tikov_Headcleaner?id=B6ydbpvz5oflyh67rnbdeoqgkna'

View file

@ -10,6 +10,7 @@ description: The House Of Set, Recorded in an itinerant studio by Simio Sakrecoe
uid: BPIST007 uid: BPIST007
image: '/assets/img/templeofSetCoverART_INV.png' image: '/assets/img/templeofSetCoverART_INV.png'
download: 'https://archive.org/download/BPIST007/BPIST007_archive.torrent' download: 'https://archive.org/download/BPIST007/BPIST007_archive.torrent'
check_this_if_cannot_be_bought: false
stores: stores:
- name: Archive - name: Archive
url: https://archive.org/details/BPIST007 url: https://archive.org/details/BPIST007

View file

@ -10,6 +10,7 @@ uid: 'battretider'
image: '/assets/img/battretider.jpg' image: '/assets/img/battretider.jpg'
link: 'https://archive.org/details/BPIST-V004' link: 'https://archive.org/details/BPIST-V004'
album: album:
check_this_if_cannot_be_bought: true
stores: stores:
- name: - name:
url: url:

View file

@ -10,6 +10,7 @@ uid: BPIST011
album: dust-and-soda album: dust-and-soda
image: /assets/img/DustAndSoda.jpg image: /assets/img/DustAndSoda.jpg
download: https://archive.org/download/BPIST011/BPIST011_archive.torrent download: https://archive.org/download/BPIST011/BPIST011_archive.torrent
check_this_if_cannot_be_bought: false
stores: stores:
- name: Archive - name: Archive
url: https://archive.org/details/BPIST011 url: https://archive.org/details/BPIST011

View file

@ -10,6 +10,7 @@ description: 'Enter this cybernetic opus of oblivion and computer aided overstan
uid: BPIST013 uid: BPIST013
image: '/assets/img/TFB-OTK.png' image: '/assets/img/TFB-OTK.png'
download: 'https://archive.org/download/BPIST013/BPIST013_archive.torrent' download: 'https://archive.org/download/BPIST013/BPIST013_archive.torrent'
check_this_if_cannot_be_bought: false
stores: stores:
- name: Archive - name: Archive
url: https://archive.org/details/BPIST013 url: https://archive.org/details/BPIST013

View file

@ -11,6 +11,7 @@ image: '/assets/img/2biljon.jpg'
download: '' download: ''
link: 'https://archive.org/details/BPIST-V003' link: 'https://archive.org/details/BPIST-V003'
album: album:
check_this_if_cannot_be_bought: true
stores: stores:
- name: - name:
url: url:

View file

@ -11,6 +11,7 @@ image: '/assets/img/goldenbank.jpg'
download: '' download: ''
link: 'https://archive.org/details/BPIST-V001' link: 'https://archive.org/details/BPIST-V001'
album: album:
check_this_if_cannot_be_bought: true
stores: stores:
- name: - name:
url: url:

View file

@ -15,6 +15,7 @@ image: /assets/img/kalsongsalong.jpg
download: download:
link: 'https://archive.org/details/BPIST-V002' link: 'https://archive.org/details/BPIST-V002'
album: album:
check_this_if_cannot_be_bought: true
stores: stores:
- name: - name:
url: url:

View file

@ -18,6 +18,7 @@ image: /assets/img/pingnu.jpg
download: download:
link: 'https://archive.org/details/BPIST-V007' link: 'https://archive.org/details/BPIST-V007'
album: album:
check_this_if_cannot_be_bought: true
stores: stores:
- name: - name:
url: url:

View file

@ -11,6 +11,7 @@ image: '/assets/img/dcsite-bg-ret.jpg'
download: '' download: ''
link: 'https://somafm.com/defcon/index.html' link: 'https://somafm.com/defcon/index.html'
album: album:
check_this_if_cannot_be_bought: true
stores: stores:
- name: - name:
url: url:

View file

@ -11,6 +11,7 @@ image: '/assets/img/cricket.summer.jpg'
download: '' download: ''
link: 'https://soundcloud.com/alexandrebertrand-1/dj-criket-g-funk-summer-mix-2018-100-vinyl' link: 'https://soundcloud.com/alexandrebertrand-1/dj-criket-g-funk-summer-mix-2018-100-vinyl'
album: album:
check_this_if_cannot_be_bought: true
stores: stores:
- name: - name:
url: url:

View file

@ -11,6 +11,7 @@ image: '/assets/img/abiotism.jpg'
download: '' download: ''
link: 'https://soundcloud.com/disko-som-disco/abiotism' link: 'https://soundcloud.com/disko-som-disco/abiotism'
album: album:
check_this_if_cannot_be_bought: true
stores: stores:
- name: - name:
url: url:

View file

@ -11,6 +11,7 @@ image: '/assets/img/awgalbi.jpg'
download: '' download: ''
link: 'https://youtu.be/g3bjZlmsb4A' link: 'https://youtu.be/g3bjZlmsb4A'
album: album:
check_this_if_cannot_be_bought: true
stores: stores:
- name: - name:
url: url:

View file

@ -11,6 +11,7 @@ image: '/assets/img/newera.jpg'
download: '' download: ''
link: '' link: ''
album: album:
check_this_if_cannot_be_bought: true
stores: stores:
- name: - name:
url: url:

View file

@ -11,6 +11,7 @@ image: '/assets/img/birraweed.jpg'
download: '' download: ''
link: 'https://youtu.be/qsxGmA4frLA' link: 'https://youtu.be/qsxGmA4frLA'
album: album:
check_this_if_cannot_be_bought: true
stores: stores:
- name: - name:
url: url:

View file

@ -11,6 +11,7 @@ download: ''
link: 'https://youtu.be/TmAvt5p6f8g' link: 'https://youtu.be/TmAvt5p6f8g'
author: set author: set
album: album:
check_this_if_cannot_be_bought: true
stores: stores:
- name: - name:
url: url:

View file

@ -11,6 +11,7 @@ image: '/assets/img/trnx_losganglios.jpg'
download: '' download: ''
link: 'http://losganglios.com/videos/' link: 'http://losganglios.com/videos/'
album: album:
check_this_if_cannot_be_bought: true
stores: stores:
- name: - name:
url: url:

View file

@ -11,6 +11,7 @@ image: '/assets/img/aciddecember2018.jpg'
download: '' download: ''
link: 'http://acid.datapop.se/' link: 'http://acid.datapop.se/'
album: album:
check_this_if_cannot_be_bought: true
stores: stores:
- name: - name:
url: url:

View file

@ -11,6 +11,7 @@ image: '/assets/img/waitinggame.jpg'
download: '' download: ''
link: 'https://sakrecoer.com/waitinggame/' link: 'https://sakrecoer.com/waitinggame/'
album: album:
check_this_if_cannot_be_bought: true
stores: stores:
- name: - name:
url: url:

View file

@ -15,10 +15,34 @@ image: /assets/img/2018-setto-single-003-reve_de_toi-117bpm_sqaure_FINAL.jpg
download: download:
link: 'https://shop.basspistol.com/album/satoshi-mon-ami' link: 'https://shop.basspistol.com/album/satoshi-mon-ami'
album: album:
check_this_if_cannot_be_bought: false
stores: stores:
- name: - name: Bandcamp
url: url: 'https://shop.basspistol.com/album/satoshi-mon-ami'
icon: icon: fa-bandcamp
download: true
- name: Spotify
url: 'https://open.spotify.com/album/116YJCcI5T9Iw9UBQCvJWF'
icon: fa-spotify
download: false
- name: Apple Music
url: >-
https://itunes.apple.com/us/album/satoshi-mon-ami-single/1447055511?uo=4&app=music&at=1001lry3&ct=dashboard
img:
icon: fa-apple
download: false
- name: Google Play
url: >-
https://play.google.com/store/music/album/%E5%BE%92_setto_%E3%82%BB%E3%83%83%E3%83%88_Satoshi_mon_ami?id=Bygwvidl75kflmclmchl6wc5uba
icon: fa-google-play
download: false
- name: Deezer
url: 'https://www.deezer.com/album/82118382'
icon: fa-creative-commons-sampling
download: false
- name: Napster
url: 'https://us.napster.com/artist/-setto-/album/satoshi-mon-ami'
icon: fa-napster
download: false download: false
--- ---

View file

@ -17,10 +17,32 @@ image: /assets/img/coverartDarkweb_setto.jpg
download: download:
link: 'https://setto.basspistol.com/darkweb' link: 'https://setto.basspistol.com/darkweb'
album: album:
check_this_if_cannot_be_bought: false
stores: stores:
- name: - name: Bandcamp
url: url: 'https://shop.basspistol.com/album/darkweb'
icon: icon: fa-bandcamp
download: true
- name: Spotify
url: 'https://open.spotify.com/album/0meSZO7BeGoHJc6BWnRvhN'
icon: fa-spotify
download: false
- name: Apple Music
url: 'https://itunes.apple.com/us/album/darkweb-single/1449847586'
icon: fa-apple
download: false
- name: Google Play
url: >-
https://play.google.com/store/music/album/%E5%BE%92_setto_%E3%82%BB%E3%83%83%E3%83%88_Darkweb?id=Bcrzzrtj7yfcyladynit7hg4age
icon: fa-google-play
download: false
- name: Deezer
url: 'https://www.deezer.com/fr/album/84669482'
icon: fa-creative-commons-sampling
download: false
- name: Napster
url: 'https://us.napster.com/artist/-setto-/album/darkweb-single'
icon: fa-napster
download: false download: false
--- ---

View file

@ -17,6 +17,7 @@ image: /assets/img/Screenshot at 2019-04-02 17-42-40.png
download: download:
link: 'https://dedsec.us' link: 'https://dedsec.us'
album: album:
check_this_if_cannot_be_bought: true
stores: stores:
- name: - name:
url: url:

View file

@ -12,6 +12,7 @@ uid: ''
image: '' image: ''
download: '' download: ''
link: '' link: ''
check_this_if_cannot_be_bought: false
stores: stores:
- name: - name:
url: url: