it weeeeeeeeeeeeeeeeeeeeeerks!
This commit is contained in:
parent
226e131281
commit
317c75091f
1 changed files with 22 additions and 8 deletions
|
|
@ -1,11 +1,25 @@
|
|||
<div class="column">
|
||||
|
||||
{% for name in page.deltagande_artists %}
|
||||
{% assign item = site.artists | where: "name", name | first %}
|
||||
{% 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 %}
|
||||
<div class="square-image" style="background-image: url('{{ artist.image }}')"></div>
|
||||
<h3>{{ artist.name }}</h3>
|
||||
<p class="blurb">{{ artist.blurb_text }}</p>
|
||||
|
||||
|
||||
<div class="square-image" style="background-image: url('{{ item.image }}')"></div>
|
||||
|
||||
<p class="blurb">{{ item.blurb_text }}</p>
|
||||
{% break %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue