2015-02-13 18:17:53 +01:00
|
|
|
---
|
|
|
|
|
layout: default
|
2015-02-16 09:45:44 +01:00
|
|
|
home: yes
|
2015-02-13 18:17:53 +01:00
|
|
|
---
|
2015-01-09 18:01:24 +01:00
|
|
|
<div class="content container-fluid">
|
2014-11-30 23:17:02 +01:00
|
|
|
|
2015-02-13 18:11:24 +01:00
|
|
|
{% for post in site.posts %} {% if forloop.first != true %}
|
2015-02-13 18:09:23 +01:00
|
|
|
|
2015-02-13 18:11:24 +01:00
|
|
|
<!-- TODO parametrize this, no hardcoded numbers -->
|
|
|
|
|
{% assign pos = 39 | minus: post.number %}
|
2015-02-13 18:09:23 +01:00
|
|
|
|
2015-02-13 18:11:24 +01:00
|
|
|
<div data-scroll-index="{{pos}}" class="row">
|
2015-02-13 18:09:23 +01:00
|
|
|
|
2015-02-13 18:11:24 +01:00
|
|
|
<div class="event-date col-md-2 col-md-offset-1">
|
2015-02-13 18:09:23 +01:00
|
|
|
|
2015-02-13 18:11:24 +01:00
|
|
|
<a class="button hvr-sweep-to-top" href={{post.url}}>
|
|
|
|
|
<h3>#{{post.number}}</h3>
|
|
|
|
|
<h4>{{post.date_text}}</h4>
|
|
|
|
|
</a>
|
2015-02-13 18:09:23 +01:00
|
|
|
|
2015-02-13 18:11:24 +01:00
|
|
|
{% if post.topics %}
|
|
|
|
|
<p>
|
|
|
|
|
<ul>
|
|
|
|
|
{% assign tags = (post.topics | split:",") %} {% for tag in tags %}
|
|
|
|
|
<li>{{tag}}</li>
|
|
|
|
|
{% endfor%}
|
|
|
|
|
</ul>
|
|
|
|
|
</p>
|
|
|
|
|
{% endif %} {% if post.location %}
|
|
|
|
|
<p><a class="highlight button hvr-sweep-to-top" href={{post.location_website}} target="_blank">{{post.location}}</a>
|
|
|
|
|
</p>
|
|
|
|
|
{% endif %}
|
2015-02-13 18:09:23 +01:00
|
|
|
|
2015-02-13 18:11:24 +01:00
|
|
|
</div>
|
2015-02-13 18:09:23 +01:00
|
|
|
|
2015-02-13 18:11:24 +01:00
|
|
|
<div class="event event-{{post.number}} dark_bg col-md-7">
|
2015-02-13 18:09:23 +01:00
|
|
|
|
2015-02-13 18:11:24 +01:00
|
|
|
{% capture talks_number %}{{ post.talks | size }}{% endcapture %} {% capture col_width %}{{ 12 | divided_by:talks_number }}{% endcapture %} {% for talk in post.talks %}
|
2015-02-13 18:09:23 +01:00
|
|
|
|
2015-02-13 18:11:24 +01:00
|
|
|
<div class="talk col-md-{{col_width}}">
|
2015-02-13 18:09:23 +01:00
|
|
|
|
2015-02-13 18:11:24 +01:00
|
|
|
<div class="artist-media">
|
|
|
|
|
{% if {{talk.media_artist_url}} %}
|
|
|
|
|
<img src={{talk.media_artist_url}}></img>
|
|
|
|
|
{% else %}
|
2015-02-14 09:49:51 +01:00
|
|
|
<img src="/assets/no_artist_media.png"></img>
|
2015-02-13 18:11:24 +01:00
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
2015-01-09 15:18:57 +01:00
|
|
|
|
2015-02-13 18:11:24 +01:00
|
|
|
<div class="talk-detail">
|
|
|
|
|
<h4>{{talk.artist}} / {{talk.title}}</h4>
|
2015-02-16 09:45:44 +01:00
|
|
|
{% if (talk.description | size) > 300 %}
|
|
|
|
|
<p>{{talk.description | truncate: 300 }}</p>
|
2015-02-13 21:11:03 +01:00
|
|
|
{% else %}
|
|
|
|
|
<p>{{talk.description}}</p>
|
|
|
|
|
{% endif%}
|
2015-02-13 18:11:24 +01:00
|
|
|
{% if talk.artist_website %}
|
|
|
|
|
<a class="button hvr-sweep-to-top" href={{talk.artist_website}} target="_blank">{{talk.artist_website}}</a> {% endif %} {% if talk.video_artist_url %}
|
|
|
|
|
<br>
|
2015-02-25 20:45:23 +01:00
|
|
|
<a class="button hvr-sweep-to-top" href={{talk.video_artist_url}} target="_blank">Artist's Video</a> {% endif %} {% if talk.talk_video_url %}
|
2015-02-13 18:11:24 +01:00
|
|
|
<br>
|
2015-02-25 20:45:23 +01:00
|
|
|
<a class="button hvr-sweep-to-top" href={{talk.talk_video_url}} target="_blank">Talk's Video</a> {% endif %}
|
2015-02-13 18:11:24 +01:00
|
|
|
</div>
|
2015-01-09 15:18:57 +01:00
|
|
|
|
2015-02-13 18:11:24 +01:00
|
|
|
</div>
|
2015-01-09 18:01:24 +01:00
|
|
|
|
2015-02-13 18:11:24 +01:00
|
|
|
{% endfor %}
|
2014-11-30 23:17:02 +01:00
|
|
|
|
2015-02-13 18:11:24 +01:00
|
|
|
</div>
|
2015-01-09 15:18:57 +01:00
|
|
|
|
2015-02-13 18:11:24 +01:00
|
|
|
</div>
|
2015-02-13 18:09:23 +01:00
|
|
|
|
2015-02-13 18:11:24 +01:00
|
|
|
{% endif %} {% endfor %}
|
2015-01-09 15:18:57 +01:00
|
|
|
|
2014-11-30 23:17:02 +01:00
|
|
|
</div>
|