dynamise post links

This commit is contained in:
Set Hallstrom 2020-10-15 17:49:58 +02:00
parent 454a264bc6
commit 49844dd1a8
22 changed files with 68 additions and 28 deletions

View file

@ -89,8 +89,15 @@ layout: default
<section class="info"> <section class="info">
<div class="container"> <div class="container">
{{ content }} {{ content }}
{% if page.link %} {% if page.link or page.chat %}
<p class="center"><a href="{{ page.link }}?ref=TheMusicSyndicateWashere" target="_bank" rel="noopener" class="button">👀 Check it out!</a></p> <p class="center">
{% if page.link %}
<a href="{{ page.link.url }}?ref=TheMusicSyndicateWashere" target="_bank" rel="noopener" class="button">{% if page.link.buttontext %}{{ page.link.buttontext }}{% else %}👀 check it out{% endif %}</a>
{% endif %}
{% if page.chat %}
<a href="{{ page.chat }}" target="_bank" rel="noopener" class="button">📢 Chat with us! (beta)</a>
{% endif %}
</p>
{% endif %} {% endif %}
</div> </div>
</section> </section>
@ -293,12 +300,19 @@ layout: default
{% include header.html %} {% include header.html %}
<section class="info" id="read"> <section class="info" id="read">
<div class="info-pages"> <div class="info-pages">
{{ content }} {{ content }}
{% if page.link %} {% if page.link or page.chat %}
<p class="center"><a href="{{ page.link }}?ref=TheMusicSyndicateWashere" target="_bank" rel="noopener" class="button">👀 Check it out!</a></p> <p class="center">
{% if page.link %}
<a href="{{ page.link.url }}?ref=TheMusicSyndicateWashere" target="_bank" rel="noopener" class="button">{% if page.link.buttontext %}{{ page.link.buttontext }}{% else %}👀 check it out{% endif %}</a>
{% endif %}
{% if page.chat %}
<a href="{{ page.chat }}" target="_bank" rel="noopener" class="button">📢 Chat with us! (beta)</a>
{% endif %}
</p>
{% endif %} {% endif %}
{% include author.html %} {% include author.html %}
</div> </div>

View file

@ -9,7 +9,8 @@ description: ''
uid: 'travel3' uid: 'travel3'
image: '/assets/img/travel3.jpg' image: '/assets/img/travel3.jpg'
download: '' download: ''
link: 'https://archive.org/details/BPIST-V005' link:
url: 'https://archive.org/details/BPIST-V005'
album: album:
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: true
stores: stores:

View file

@ -8,7 +8,8 @@ tags: [video, internal]
description: 'I''m waiting for better times. I''m laying home in the sofa and waiting for better times. Why should i wait here? I can do something better with my life!' description: 'I''m waiting for better times. I''m laying home in the sofa and waiting for better times. Why should i wait here? I can do something better with my life!'
uid: 'battretider' uid: 'battretider'
image: '/assets/img/battretider.jpg' image: '/assets/img/battretider.jpg'
link: 'https://archive.org/details/BPIST-V004' link:
url: 'https://archive.org/details/BPIST-V004'
album: album:
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: true
stores: stores:

View file

@ -9,7 +9,8 @@ description: 'In a dystopian future, will The Fraglebay survive on their 2billio
uid: '2biljonprojekt' uid: '2biljonprojekt'
image: '/assets/img/2biljon.jpg' image: '/assets/img/2biljon.jpg'
download: '' download: ''
link: 'https://archive.org/details/BPIST-V003' link:
url: 'https://archive.org/details/BPIST-V003'
album: album:
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: true
stores: stores:

View file

@ -9,7 +9,8 @@ description: 'ROM THE ALBUM "DUST AND SODA"'
uid: 'goldenbank' uid: 'goldenbank'
image: '/assets/img/goldenbank.jpg' image: '/assets/img/goldenbank.jpg'
download: '' download: ''
link: 'https://archive.org/details/BPIST-V001' link:
url: 'https://archive.org/details/BPIST-V001'
album: album:
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: true
stores: stores:

View file

@ -13,7 +13,8 @@ description: Papi Crapy staring in a Sakrecoer video
uid: kalsongsalong uid: kalsongsalong
image: /assets/img/kalsongsalong.jpg image: /assets/img/kalsongsalong.jpg
download: download:
link: 'https://archive.org/details/BPIST-V002' link:
url: 'https://archive.org/details/BPIST-V002'
album: album:
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: true
stores: stores:

View file

@ -16,7 +16,8 @@ description: >-
uid: pingnu uid: pingnu
image: /assets/img/pingnu.jpg image: /assets/img/pingnu.jpg
download: download:
link: 'https://archive.org/details/BPIST-V007' link:
url: 'https://archive.org/details/BPIST-V007'
album: album:
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: true
stores: stores:

View file

@ -9,7 +9,8 @@ description: 'Music for Hacking. The DEF CON Year-Round Channel. DEF CON is one
uid: 'defconradio' uid: 'defconradio'
image: '/assets/img/dcsite-bg-ret.jpg' image: '/assets/img/dcsite-bg-ret.jpg'
download: '' download: ''
link: 'https://somafm.com/defcon/index.html' link:
url: 'https://somafm.com/defcon/index.html'
album: album:
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: true
stores: stores:

View file

@ -9,7 +9,8 @@ description: '100% Vinyl mix of G-Funk'
uid: 'gmixsummer' uid: 'gmixsummer'
image: '/assets/img/cricket.summer.jpg' image: '/assets/img/cricket.summer.jpg'
download: '' download: ''
link: 'https://soundcloud.com/alexandrebertrand-1/dj-criket-g-funk-summer-mix-2018-100-vinyl' link:
url: 'https://soundcloud.com/alexandrebertrand-1/dj-criket-g-funk-summer-mix-2018-100-vinyl'
album: album:
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: true
stores: stores:

View file

@ -9,7 +9,8 @@ description: 'An extremly lively piece of music for being an abiotism.'
uid: 'somdiskoabiotism' uid: 'somdiskoabiotism'
image: '/assets/img/abiotism.jpg' image: '/assets/img/abiotism.jpg'
download: '' download: ''
link: 'https://soundcloud.com/disko-som-disco/abiotism' link:
url: 'https://soundcloud.com/disko-som-disco/abiotism'
album: album:
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: true
stores: stores:

View file

@ -9,7 +9,8 @@ description: 'A WA is a band formed by 3 sisters who combine Yemenite folk singi
uid: 'awagalbi' uid: 'awagalbi'
image: '/assets/img/awgalbi.jpg' image: '/assets/img/awgalbi.jpg'
download: '' download: ''
link: 'https://youtu.be/g3bjZlmsb4A' link:
url: 'https://youtu.be/g3bjZlmsb4A'
album: album:
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: true
stores: stores:

View file

@ -9,7 +9,8 @@ description: 'Chillean lean, straight out of Valpara&iacute;so'
uid: 'birraweed' uid: 'birraweed'
image: '/assets/img/birraweed.jpg' image: '/assets/img/birraweed.jpg'
download: '' download: ''
link: 'https://youtu.be/qsxGmA4frLA' link:
url: 'https://youtu.be/qsxGmA4frLA'
album: album:
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: true
stores: stores:

View file

@ -8,7 +8,8 @@ description: 'Codes, idioms and how the Yungster redefined the notion of a band.
uid: 'powerfullylean1unf13r9u1ruvbpeif' uid: 'powerfullylean1unf13r9u1ruvbpeif'
image: '/assets/img/clr.jpg' image: '/assets/img/clr.jpg'
download: '' download: ''
link: 'https://youtu.be/TmAvt5p6f8g' link:
url: 'https://youtu.be/TmAvt5p6f8g'
author: set author: set
album: album:
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: true

View file

@ -9,7 +9,8 @@ description: 'PORC, or what happens when you conglomerate Punk, Techno, Rock and
uid: 'losgangliosnomamesguey' uid: 'losgangliosnomamesguey'
image: '/assets/img/trnx_losganglios.jpg' image: '/assets/img/trnx_losganglios.jpg'
download: '' download: ''
link: 'http://losganglios.com/videos/' link:
url: 'http://losganglios.com/videos/'
album: album:
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: true
stores: stores:

View file

@ -9,7 +9,8 @@ description: 'Intergalactic tradition finally back in our dimension.'
uid: 'aciddecember2018' uid: 'aciddecember2018'
image: '/assets/img/aciddecember2018.jpg' image: '/assets/img/aciddecember2018.jpg'
download: '' download: ''
link: 'http://acid.datapop.se/' link:
url: 'http://acid.datapop.se/'
album: album:
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: true
stores: stores:

View file

@ -9,7 +9,8 @@ description: 'Sakrecoer Sells out!'
uid: 'waitinggamesakrecoer2019' uid: 'waitinggamesakrecoer2019'
image: '/assets/img/waitinggame.jpg' image: '/assets/img/waitinggame.jpg'
download: '' download: ''
link: 'https://sakrecoer.com/waitinggame/' link:
url: 'https://sakrecoer.com/waitinggame/'
album: waiting-game album: waiting-game
check_this_if_cannot_be_bought: false check_this_if_cannot_be_bought: false
stores: stores:

View file

@ -13,7 +13,8 @@ description: 'Satoshi Mon Ami EP, out now!'
uid: kas tu fais de nous 2019 uid: kas tu fais de nous 2019
image: /assets/img/2018-setto-single-003-reve_de_toi-117bpm_sqaure_FINAL.jpg 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/#play' link:
url: 'https://shop.basspistol.com/album/satoshi-mon-ami/#play'
album: satoshi-mon-ami album: satoshi-mon-ami
check_this_if_cannot_be_bought: false check_this_if_cannot_be_bought: false
stores: stores:

View file

@ -15,7 +15,8 @@ description: >-
uid: darkweb2019 uid: darkweb2019
image: /assets/img/coverartDarkweb_setto.jpg image: /assets/img/coverartDarkweb_setto.jpg
download: download:
link: https://setto.basspistol.com/darkweb/ link:
url: https://setto.basspistol.com/darkweb/
album: darkweb album: darkweb
check_this_if_cannot_be_bought: false check_this_if_cannot_be_bought: false
stores: stores:

View file

@ -15,7 +15,8 @@ description: >-
uid: sparktapeculrywolverine uid: sparktapeculrywolverine
image: /assets/img/Screenshot-at-2019-04-02-17-42-40.png image: /assets/img/Screenshot-at-2019-04-02-17-42-40.png
download: download:
link: 'https://smt.xxx/' link:
url: 'https://smt.xxx/'
album: album:
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: true
stores: stores:

View file

@ -16,7 +16,9 @@ tags:
image: /images/posts/final-pingnucover1220x1200.jpg image: /images/posts/final-pingnucover1220x1200.jpg
video_path: /videos/pingu.mp4 video_path: /videos/pingu.mp4
download: download:
link: https://setto.basspistol.com/unmet-dependencies/#play link:
url: https://setto.basspistol.com/unmet-dependencies/#play
buttontext: 👀 Go to source
check_this_if_cannot_be_bought: false check_this_if_cannot_be_bought: false
stores: stores:
- name: Spotify - name: Spotify

View file

@ -12,7 +12,10 @@ tags:
image: /images/posts/william-warby-qjdm9e4miwo-unsplash.jpg image: /images/posts/william-warby-qjdm9e4miwo-unsplash.jpg
video_path: video_path:
download: download:
link: 'https://nxt.basspistol.org/apps/forms/gH92FwA3doHiBHf6' link:
url: 'https://nxt.basspistol.org/apps/forms/gH92FwA3doHiBHf6'
buttontext: 👀 Access survey
chat: https://nxt.basspistol.org/s/8dwAQN3bDybx78j
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: true
stores: stores:
- name: - name:

View file

@ -10,7 +10,10 @@ tags: []
image: '' image: ''
video_path: video_path:
download: '' download: ''
link: https://setto.basspistol.com/unmet-dependencies/#play link:
url:
buttontext:
chat:
check_this_if_cannot_be_bought: false check_this_if_cannot_be_bought: false
stores: stores:
- name: - name: