forked from Blender-Brussels/blender-brussels.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (34 loc) · 1.35 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
layout: page
title: Latest activities
description: "Monthly workshops around Python (BPY/BGE) and Blender in Brussels, Belgium"
tags: [Blender, BPY, BGE, workshops, Brussels, Belgium, Julien Deswaef, François Zajéga, F/LAT, Bruxelles, FWB, Fédération, Wallonie, BBUG]
---
{% assign future = false %}
{% assign count = 0 %}
{% assign posts=site.posts | where:"lang","en" %}
{% for post in posts limit:10 %}
{% if post.date > site.time %}
{% assign future = true %}
{% assign count = count | plus: 1 %}
{% endif %}
{% endfor %}
{% if future %}
<h2>Coming up next…</h2>
<ul class="post-list">
{% for post in posts limit:count %}
{% if post.date >= site.time %}
<li><article><a href="{{ site.url }}{{ post.url }}">{{ post.title }} <span class="entry-date"><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%B %d, %Y" }}</time></span></a></article></li>
{% endif %}
{% endfor %}
</ul>
<h2>You missed…</h2>
{% endif %}
<ul class="post-list">
{% assign count = count | plus: 5 %}
{% for post in posts limit:count %}
{% if post.date < site.time %}
<li><article><a href="{{ site.url }}{{ post.url }}">{{ post.title }} <span class="entry-date"><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%B %d, %Y" }}</time></span></a></article></li>
{% endif %}
{% endfor %}
</ul>