summaryrefslogtreecommitdiffstats
path: root/blog/concerts.html
blob: 5a51aeef92971fe86314a8b4f685d621a0d4c39b (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
41
42
---
layout: default
title: titles.concerts
---

{% tf concerts/intro.md %}

<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 %}