diff --git a/_includes/featured-artists.html b/_includes/featured-artists.html index 9f6e47a..cc54cb8 100644 --- a/_includes/featured-artists.html +++ b/_includes/featured-artists.html @@ -1,25 +1,26 @@

Vem {% if page.category == 'music' %}spelar? {% else %}Ställer ut?{% endif %}

- {% for artist_name in page.deltagande_artists %} - {% for artist in site.artists %} - {% capture name -%} - {{ artist.relative_path + {% for artist_name in page.deltagande_artists %} + {% for artist in site.artists %} + {% capture name -%} + {{ artist.relative_path | replace_first: artist.collection, '' | replace_first: '_/', '' | replace_first: '.md', '' }} - {%- endcapture %} - {% if name == artist_name %} -
-

{{ artist.name }}

-

{{ artist.blurb_text }}
- {% if page.category == 'music'%}Lyssna{% else %}Mer infor{% endif %} här -

- - - {% break %} - {% endif %} - {% endfor %} + {%- endcapture %} + {% if name == artist_name %} +
+

{{ artist.name }}

+

{{ artist.blurb_text }}
+ {% if artist.link != null %}{% if page.category == 'music'%}Lyssna{% else %}Mer infor{% endif %} + här{% endif %}

+ + + {% break %} + {% endif %} + {% endfor %} {% endfor %}