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

View file

@ -355,6 +355,7 @@
</div>
</div>
</section>
{% include streamer.html %}
<section class="wrapper style1 align-center">
<div class="inner">
<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'
image: '/assets/img/PsykedeliskPopFront.jpg'
download: 'https://archive.org/download/BPIST001/BPIST001_archive.torrent'
check_this_if_cannot_be_bought: false
stores:
- name: Bandcamp
url: 'https://shop.basspistol.com/album/psykedelisk-pop'

View file

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

View file

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

View file

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

View file

@ -10,7 +10,7 @@ uid: BPIST005
image: /assets/img/DrTikov_Headcleaner.jpg
download: https://archive.org/download/BPIST005/BPIST005_archive.torrent
description: 'Headcleaner by Dr. Tikov. A minimalistic opus of dubish Russian techno, made in Barcelona.'
stores:
check_this_if_cannot_be_bought: false
stores:
- name: Spotify
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
image: '/assets/img/templeofSetCoverART_INV.png'
download: 'https://archive.org/download/BPIST007/BPIST007_archive.torrent'
check_this_if_cannot_be_bought: false
stores:
- name: Archive
url: https://archive.org/details/BPIST007

View file

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

View file

@ -10,6 +10,7 @@ uid: BPIST011
album: dust-and-soda
image: /assets/img/DustAndSoda.jpg
download: https://archive.org/download/BPIST011/BPIST011_archive.torrent
check_this_if_cannot_be_bought: false
stores:
- name: Archive
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
image: '/assets/img/TFB-OTK.png'
download: 'https://archive.org/download/BPIST013/BPIST013_archive.torrent'
check_this_if_cannot_be_bought: false
stores:
- name: Archive
url: https://archive.org/details/BPIST013

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -15,10 +15,34 @@ image: /assets/img/2018-setto-single-003-reve_de_toi-117bpm_sqaure_FINAL.jpg
download:
link: 'https://shop.basspistol.com/album/satoshi-mon-ami'
album:
check_this_if_cannot_be_bought: false
stores:
- name:
url:
icon:
- name: Bandcamp
url: 'https://shop.basspistol.com/album/satoshi-mon-ami'
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
---

View file

@ -17,10 +17,32 @@ image: /assets/img/coverartDarkweb_setto.jpg
download:
link: 'https://setto.basspistol.com/darkweb'
album:
check_this_if_cannot_be_bought: false
stores:
- name:
url:
icon:
- name: Bandcamp
url: 'https://shop.basspistol.com/album/darkweb'
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
---

View file

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

View file

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