scopesessions.org/index.html

94 lines
2.6 KiB
HTML
Raw Normal View History

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-03-01 19:46:21 +01:00
{% assign post_number = site.posts | size %}
{% assign pos = post_number | 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-04-14 11:57:13 +02:00
<div class="transp-bg padded event-info col-md-2 col-md-offset-1">
2015-02-13 18:09:23 +01:00
2015-04-14 11:57:13 +02:00
<a class="event-date padded button hvr-sweep-to-top" href={{post.url}}>
2015-02-13 18:11:24 +01:00
<h3>#{{post.number}}</h3>
<h4>{{post.date_text}}</h4>
2015-04-14 11:57:13 +02:00
{% if post.title %}
<p>{{post.title}}</p>
2015-03-04 13:07:55 +01:00
{% endif %}
2015-04-14 11:57:13 +02:00
</a>
2015-03-01 19:46:21 +01:00
2015-04-14 11:57:13 +02:00
<div class="padded_vert">
2015-02-13 18:11:24 +01:00
<ul>
2015-04-14 11:57:13 +02:00
{% for talk in post.talks %}
{% if talk.topics %}
{% assign tags = (talk.topics | split:",") %}
{% for tag in tags | uniq %}
<li>{{tag}}</li>
{% endfor %}
{% endif %}
{% endfor %}
</ul>
</div>
<div class="padded_vert">
{% if post.location %}
<ul>
<li><a class="highlight button hvr-sweep-to-top" href={{post.location_website}} target="_blank">{{post.location}}</a></li>
{% if post.fb_event_url %}
<li><a class="highlight button hvr-sweep-to-top" target="_blank" href={{post.fb_event_url}}><i class="fa fa-facebook-square"></i></a></li>
2015-03-01 19:46:21 +01:00
{% endif %}
2015-02-13 18:11:24 +01:00
</ul>
2015-04-14 11:57:13 +02:00
{% endif %}
</div>
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-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>
{% 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"><i class="fa fa-link"></i> Website</a>
{% endif %}
{% if talk.video_artist_url %}
<br>
<a class="button hvr-sweep-to-top" href={{talk.video_artist_url}} target="_blank"><i class="fa fa-video-camera"></i> Artist video</a>
{% endif %}
{% if talk.talk_video_url %}
<br>
<a class="button hvr-sweep-to-top" href={{talk.talk_video_url}} target="_blank"><i class="fa fa-video-camera"></i> Talk at Scope</a>
{% endif %}
2015-02-13 18:11:24 +01:00
</div>
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-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 %}
2014-11-30 23:17:02 +01:00
</div>