106 lines
2.9 KiB
HTML
106 lines
2.9 KiB
HTML
---
|
|
layout: page
|
|
title: Spektrum
|
|
icon: user
|
|
visible: false
|
|
permalink: /spektrum/
|
|
---
|
|
|
|
{% assign post_number = site.posts | size %}
|
|
|
|
<div class="content container-fluid">
|
|
|
|
{% for post in site.posts %}
|
|
|
|
{% if post.layout != "event-spektrum" %}
|
|
{% continue %}
|
|
{% endif %}
|
|
|
|
{% if forloop.first != true %}
|
|
|
|
{% assign pos = post_number | minus: post.number %}
|
|
|
|
<div data-scroll-index="{{pos}}" class="row">
|
|
|
|
<div class="transp-bg padded event-info col-sm-2 col-sm-offset-1">
|
|
|
|
<a class="event-date padded button hvr-sweep-to-top" href="{{ post.url }}">
|
|
<h3>#{{post.number}}</h3>
|
|
<h4>{{post.date_text}}</h4>
|
|
{% if post.title %}
|
|
<p>{{post.title}}</p>
|
|
{% endif %}
|
|
</a>
|
|
|
|
<div class="padded_vert">
|
|
<ul>
|
|
{% for talk in post.talks %}
|
|
{% if talk.topics %}
|
|
{% assign tags = talk.topics | split: "," | uniq %}
|
|
{% for tag in tags %}
|
|
<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>
|
|
{% endif %}
|
|
</ul>
|
|
{% endif %}
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="event event-{{post.number}} dark_bg col-sm-8">
|
|
|
|
{% capture talks_number %}{{ post.talks | size }}{% endcapture %} {% capture col_width %}{{ 12 | divided_by:talks_number }}{% endcapture %} {% for talk in post.talks %}
|
|
|
|
<div class="talk col-sm-{{col_width}}">
|
|
|
|
<div class="artist-media">
|
|
{% if talk.media_artist_url %}
|
|
<img src="{{ talk.media_artist_url }}" />
|
|
{% else %}
|
|
<img src="/assets/no_artist_media.png" />
|
|
{% endif %}
|
|
</div>
|
|
|
|
<div class="talk-detail">
|
|
<h4>{{talk.artist}} / {{talk.title}}</h4>
|
|
{% assign description_length = talk.description | size %}
|
|
{% if talk.description and description_length > 300 %}
|
|
<p>{{talk.description | truncate: 300 }}</p>
|
|
{% elsif talk.description %}
|
|
<p>{{talk.description}}</p>
|
|
{% endif%}
|
|
{% 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 %}
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %} {% endfor %}
|
|
|
|
</div>
|