dynamic calendar

This commit is contained in:
Set Sakrecoer 2019-06-17 17:20:47 +02:00
parent 86a0de935f
commit c2b79d8201
4 changed files with 48 additions and 14 deletions

View file

@ -1,5 +1,5 @@
<div class="column">
<h2>Vem {% if page.category == 'music' %}spelar? {% else %}Ställer ut?{% endif %}</h2>
<h2>Vem {% if page.category == 'ljudkonst' %}spelar? {% else %}Ställer ut?{% endif %}</h2>
{% for artist_name in page.deltagande_artists %}
{% for artist in site.artists %}
{% capture name -%}
@ -14,7 +14,7 @@
<h3>{{ artist.name }}</h3>
<p class="blurb">{{ artist.blurb_text }}<br />
{% if artist.link != null %}<a href="{{ artist.link }}" trarget="_blank"
rel="noopener noreferrer nofollow">{% if page.category == 'music'%}Lyssna{% else %}Mer infor{% endif %}
rel="noopener noreferrer nofollow">{% if page.category == 'ljudkonst'%}Lyssna{% else %}Mer info{% endif %}
här</a>{% endif %}</p>