working on automagik artist list
This commit is contained in:
parent
1c49bfa599
commit
dc068a6cee
2 changed files with 14 additions and 18 deletions
11
_includes/featured-artists.html
Normal file
11
_includes/featured-artists.html
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<div class="column">
|
||||||
|
|
||||||
|
{% for artist in page.deltagande_artists %}
|
||||||
|
{% assign author_id = page.artist %}
|
||||||
|
{% assign author = site.artists | where: "name", author_id | first %}
|
||||||
|
|
||||||
|
<div class="square-image" style="background-image: url('{{ author.image }}')"></div>
|
||||||
|
|
||||||
|
<p class="blurb">{{ author.blurb_text }}</p>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
@ -15,31 +15,16 @@ layout: default
|
||||||
<img src="{{ site.baseurl}}{{ page.image }}" width="100%" />
|
<img src="{{ site.baseurl}}{{ page.image }}" width="100%" />
|
||||||
<p>{{ page.description }}</p>
|
<p>{{ page.description }}</p>
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</div>
|
|
||||||
<div class="column" style="z-index: 10000000;">
|
|
||||||
|
|
||||||
{% assign author_id = page.artist.deltagande_artists %}
|
|
||||||
{% assign author = site.artists | where: "url", author_id | first %}
|
|
||||||
{% for artist in page.deltagande_artists %}
|
|
||||||
<div class="square-image" style="background-image: url('{{ author.image }}')"></div>
|
|
||||||
|
|
||||||
<p class="blurb">{{ author.blurb_text }}</p>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
|
|
||||||
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
{% if page.slutet_salskap == true %}
|
{% if page.slutet_salskap == true %}
|
||||||
<div class="column">
|
<div class="column">
|
||||||
{% if page.slutet_salskap == true %}
|
{% if page.slutet_salskap == true %}
|
||||||
<h2>OBS! Du måste vara stödmedlem!</h2>
|
<h2 style="color: #3e8cdf;">OBS! Du måste vara stödmedlem!</h2>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% include contact.html %}
|
{% include contact.html %}
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
<div class="column">
|
<div class="column">
|
||||||
{% include hittahit.html %}
|
{% include hittahit.html %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
<!-- END events.html -->
|
||||||
<!-- END events.html -->
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue