diff --git a/_includes/featured-artists.html b/_includes/featured-artists.html index 48d0be6..c1e58a7 100644 --- a/_includes/featured-artists.html +++ b/_includes/featured-artists.html @@ -1,11 +1,25 @@
- - {% for name in page.deltagande_artists %} - {% assign item = site.artists | where: "name", name | first %} - - -
- -

{{ item.blurb_text }}

+ + {% 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 }}

+ + + {% break %} + {% endif %} + {% endfor %} {% endfor %} + + +
\ No newline at end of file