internal links do not open in new tab

This commit is contained in:
Set Hallstrom 2020-11-30 01:17:31 +01:00
parent 28129419d9
commit 5001739748
4 changed files with 8 additions and 6 deletions

View file

@ -87,7 +87,7 @@ layout: default
{% if page.link.url %} {% if page.link.url %}
<p class="center"> <p class="center">
<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> <a href="{{ page.link.url }}{% unless page.link.internal == true %}?ref=TheMusicSyndicateWashere{% endunless %}" {% unless page.link.internal == true %}target="_bank" rel="noopener"{% endunless %} class="button">{% if page.link.buttontext %}{{ page.link.buttontext }}{% else %}👀 check it out{% endif %}</a>
</p> </p>
{% endif %} {% endif %}
@ -325,7 +325,7 @@ layout: default
{% if page.link.url %} {% if page.link.url %}
<p class="center"> <p class="center">
<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> <a href="{{ page.link.url }}{% unless page.link.internal == true %}?ref=TheMusicSyndicateWashere{% endunless %}" {% unless page.link.internal == true %}target="_bank" rel="noopener"{% endunless %} class="button">{% if page.link.buttontext %}{{ page.link.buttontext }}{% else %}👀 check it out{% endif %}</a>
</p> </p>

View file

@ -12,11 +12,11 @@ download: ''
link: link:
url: 'https://archive.org/details/BPIST-V005' url: 'https://archive.org/details/BPIST-V005'
album: album:
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: false
stores: stores:
- name: - name: Spotify
url: url: https://open.spotify.com/artist/6yZwmHOvoZpp9QqLkVsyEV
icon: icon: fa-spotify
download: false download: false
--- ---
Synapset is a blitz collective formed in Barcelona, over a week in the beginning of April 2010 by Synapskollaps and reSet Sakrecoer. It is based on experimenting with the risk of taking opportunities in life and reproduce them with machines. It questions the space existing between people and how music interconnects them. This album was written, recorded, mixed and mastered in 7 days. Synapset is a blitz collective formed in Barcelona, over a week in the beginning of April 2010 by Synapskollaps and reSet Sakrecoer. It is based on experimenting with the risk of taking opportunities in life and reproduce them with machines. It questions the space existing between people and how music interconnects them. This album was written, recorded, mixed and mastered in 7 days.

View file

@ -18,6 +18,7 @@ download:
link: link:
url: '#support' url: '#support'
buttontext: Satoshis this way! buttontext: Satoshis this way!
internal: true
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: true
stores: stores:
- name: - name:

View file

@ -13,6 +13,7 @@ download: ''
link: link:
url: url:
buttontext: buttontext:
internal: false
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: true
stores: stores:
- name: - name: