From 317c75091fa8abfee433f98331ab9b89ddf4936f Mon Sep 17 00:00:00 2001 From: Set Hallstrom Date: Wed, 12 Jun 2019 17:37:04 +0200 Subject: [PATCH] it weeeeeeeeeeeeeeeeeeeeeerks! --- _includes/featured-artists.html | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) 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