summaryrefslogtreecommitdiffstats
path: root/blog/concerts.html
blob: 9a9db777feae98ac1084b341081b4f8762603dc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
layout: default
title: Konserter
---

<h2>Kommende konserter</h2>

{% for concert in site.concerts %}
  {% if concert.date >= site.time %}
    <article class="concert-listing">
      <header>
        <date class="date"><a href="{{ concert.url | prepend: site.base_url }}">{{ concert.date | date: "%d/%m-%Y" }}</a></date>
        <span class="city">{{ concert.city }}</span>
        <span class="venue">{{ concert.venue }}</span>
        <span class="comment">{{ concert.comment }}</span>
      </header>
      <section class="bands">
        {{ concert.bands | join: ", " }}
      </section>
    </article>
  {% endif %}
{% endfor %}

<h2>Tidligere konserter:</h2>

{% for concert in site.concerts %}
  {% if concert.date < site.time %}
    <article class="concert-listing">
      <header>
        <date class="date"><a href="{{ concert.url | prepend: site.base_url }}">{{ concert.date | date: "%d/%m-%Y" }}</a></date>
        <span class="city">{{ concert.city }}</span>
        <span class="venue">{{ concert.venue }}</span>
        <span class="comment">{{ concert.comment }}</span>
      </header>
      <section class="bands">
        {{ concert.bands | join: ", " }}
      </section>
    </article>
  {% endif %}
{% endfor %}