cards.html 830 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
<div class="blog">
    <ul class="row">
        {% for event in events %}
        <li class="post span6 has-overlay event">
            <a href="{{ event.get_absolute_url }}">
                <div class="post-inner">
                    <div class="post-body"><h2>{{ event.title }}</h2>
                        <div class="post-date circle">
                            <div class="circle-border"></div>
                            <div class="circle-inner">{{ event.start.day }}<span>{{ event.start|date:"M" }}</span></div>
                        </div>
                        <div class="post-excerpt">
13
                            <p>{{ event.description|striptags|safe }}</p>
14
15
16
17
18
19
20
21
                        </div>
                    </div>
                </div>
            </a>
        </li>
        {% endfor %}
    </ul>
</div>