supporting spektrum and specials
This commit is contained in:
parent
95340d3ee4
commit
1eb604adde
101 changed files with 26712 additions and 23082 deletions
39
index.html
39
index.html
|
|
@ -82,23 +82,32 @@ home: yes
|
|||
|
||||
{% for post in site.posts %}
|
||||
|
||||
{% if post.layout == "event-spektrum" %}
|
||||
{% continue %}
|
||||
{% endif %}
|
||||
{% if post.layout == "event-special" %}
|
||||
{% 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">
|
||||
|
||||
{% if (post.layout == 'event-special') %}
|
||||
<div class="purple_bg padded event-info col-sm-2 col-sm-offset-1 ">
|
||||
{% elsif (post.layout == 'event-spektrum') %}
|
||||
<div class="green_bg padded event-info col-sm-2 col-sm-offset-1 ">
|
||||
{% else %}
|
||||
<div class="padded event-info col-sm-2 col-sm-offset-1 ">
|
||||
{% endif %}
|
||||
|
||||
<a class="event-date padded button hvr-sweep-to-top" href={{post.url}}>
|
||||
<h3>#{{post.number}}</h3>
|
||||
|
||||
{% if (post.layout == 'event-special') %}
|
||||
<h4>Special event</h4>
|
||||
<h3>{{post.number}}</h3>
|
||||
{% elsif (post.layout == 'event-spektrum') %}
|
||||
<h4>Spektrum event</h4>
|
||||
<h3>{{post.number}}</h3>
|
||||
{% else %}
|
||||
<h3>#{{post.number}}</h3>
|
||||
{% endif %}
|
||||
|
||||
<h4>{{post.date_text}}</h4>
|
||||
{% if post.title %}
|
||||
<p>{{post.title}}</p>
|
||||
|
|
@ -130,8 +139,14 @@ home: yes
|
|||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="event event-{{post.number}} dark_bg col-sm-8">
|
||||
|
||||
{% if post.layout == "event-special" %}
|
||||
<div class="event event-{{post.number}} purple_bg col-sm-8">
|
||||
{% elsif post.layout == "event-spektrum" %}
|
||||
<div class="event event-{{post.number}} green_bg col-sm-8">
|
||||
{% else %}
|
||||
<div class="event event-{{post.number}} dark_bg col-sm-8">
|
||||
{% endif %}
|
||||
|
||||
{% capture talks_number %}{{ post.talks | size }}{% endcapture %} {% capture col_width %}{{ 12 | divided_by:talks_number }}{% endcapture %} {% for talk in post.talks %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue