link issue
This commit is contained in:
parent
6d9411d1b5
commit
813b04d50c
1 changed files with 17 additions and 16 deletions
|
|
@ -1,25 +1,26 @@
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<h2>Vem {% if page.category == 'music' %}spelar? {% else %}Ställer ut?{% endif %}</h2>
|
<h2>Vem {% if page.category == 'music' %}spelar? {% else %}Ställer ut?{% endif %}</h2>
|
||||||
{% for artist_name in page.deltagande_artists %}
|
{% for artist_name in page.deltagande_artists %}
|
||||||
{% for artist in site.artists %}
|
{% for artist in site.artists %}
|
||||||
{% capture name -%}
|
{% capture name -%}
|
||||||
{{ artist.relative_path
|
{{ artist.relative_path
|
||||||
| replace_first: artist.collection, ''
|
| replace_first: artist.collection, ''
|
||||||
| replace_first: '_/', ''
|
| replace_first: '_/', ''
|
||||||
| replace_first: '.md', ''
|
| replace_first: '.md', ''
|
||||||
}}
|
}}
|
||||||
{%- endcapture %}
|
{%- endcapture %}
|
||||||
{% if name == artist_name %}
|
{% if name == artist_name %}
|
||||||
<div class="square-image" style="background-image: url('{{ artist.image }}')"></div>
|
<div class="square-image" style="background-image: url('{{ artist.image }}')"></div>
|
||||||
<h3>{{ artist.name }}</h3>
|
<h3>{{ artist.name }}</h3>
|
||||||
<p class="blurb">{{ artist.blurb_text }}<br />
|
<p class="blurb">{{ artist.blurb_text }}<br />
|
||||||
<a href="{{ artist.link }}" trarget="_blank" rel="noopener noreferrer nofollow">{% if page.category == 'music'%}Lyssna{% else %}Mer infor{% endif %} här</a>
|
{% if artist.link != null %}<a href="{{ artist.link }}" trarget="_blank"
|
||||||
</p>
|
rel="noopener noreferrer nofollow">{% if page.category == 'music'%}Lyssna{% else %}Mer infor{% endif %}
|
||||||
|
här</a>{% endif %}</p>
|
||||||
|
|
||||||
|
|
||||||
{% break %}
|
{% break %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue