Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Commit

Permalink
Added loops for related posts
Browse files Browse the repository at this point in the history
  • Loading branch information
rrolf authored Jul 11, 2018
1 parent b4ef1ef commit 24b474a
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions events.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,24 @@ title: Opencast Community Meetings
# Upcoming Events
Here are the conferences and workshops organized by the Opencast community and/or with participation by / relevance for the Opencast community.

{% for post in site.posts %}
{% if post.tags contains "upcoming" %}

{% include box-start.html
backgroundcolor=site.data.colors.greenbox
%}

<h2><a href="{{ post.url | remove_first:'/' }}">{{ post.title }}</a></h2>
<i>{{ post.date | date_to_long_string }}</i>
<p>{{ post.description }}</p>
<p>{{ post.excerp }}</p>
<a href="{{ post.url | remove_first:'/' }}">Read more...</a>
{% include box-end.html %}

{% endif %}
{% endfor %}


{% include simplebox.html backgroundcolor=site.data.colors.box
content="## Opencast D/A/CH Meeting 2018

Expand All @@ -23,6 +41,23 @@ As usually the event has more an un-conference style and the participants can co

# Past Events

{% for post in site.posts %}
{% if post.tags contains "past" %}

{% include box-start.html
backgroundcolor=site.data.colors.greenbox
%}

<h2><a href="{{ post.url | remove_first:'/' }}">{{ post.title }}</a></h2>
<i>{{ post.date | date_to_long_string }}</i>
<p>{{ post.description }}</p>
<p>{{ post.excerp }}</p>
<a href="{{ post.url | remove_first:'/' }}">Read more...</a>
{% include box-end.html %}

{% endif %}
{% endfor %}

{% include fullsizebox.html
title="2018 Opencast summit"
description="The website has recording of most of the sessions of this years conference.
Expand Down

0 comments on commit 24b474a

Please sign in to comment.