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 %}
<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>
{% endif %}
@ -325,7 +325,7 @@ layout: default
{% if page.link.url %}
<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>

View file

@ -12,11 +12,11 @@ download: ''
link:
url: 'https://archive.org/details/BPIST-V005'
album:
check_this_if_cannot_be_bought: true
check_this_if_cannot_be_bought: false
stores:
- name:
url:
icon:
- name: Spotify
url: https://open.spotify.com/artist/6yZwmHOvoZpp9QqLkVsyEV
icon: fa-spotify
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.

View file

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

View file

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