-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
executable file
·46 lines (40 loc) · 1.62 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
37
38
39
40
41
42
43
44
45
46
---
layout: base
---
<div class="blog-cover" style="background-image:url(/images/{{ site.inc.cover_image }});">
<section>
<div class="container">
<h1>{{ site.inc.title }}</h1>
{% if site.inc.subtitle %}<h3>{{ site.inc.subtitle }}</h3>{% endif %}
{% include _social_buttons.html %}
</div>
</section>
</div>
<article class="container">
<h1 class="title">Events</h1>
<div class="app-placeholder-calendar" data-id="proj_5UuBgnRRzZXVVksNmvMGw"></div>
<script type="text/javascript">
document.getElementById("Inffuse-Loader") ||
document.write('\x3Cscript type="text/javascript" src="//inffuse-platform.appspot.com/plugins/web/loader.js?app=calendar" id="Inffuse-Loader">\x3C/script>');
</script>
{% assign curDate = site.time | date: '%s' %}
{% for post in site.categories.events reversed %}
{% assign postStartDate = post.event.date | date: '%s' %}
{% if postStartDate >= curDate %}
<!-- Page content goes here -->
<section class="index">
<!-- {% if post.author.image %}<img src="/images/{{ post.author.image }}" class="avatar">{% endif %}-->
<div>
<h2 class="title"><a href="{{ post.url }}" rel="prefetch">{{ post.title }}</a></h2>
<p>{{ post.content }}</p>
<div class="meta">
<!--Written By <address>{{ post.author.name }}</address> —-->
<time pubdate datetime="{{ post.date | date: "%Y-%d-%B" }}" title="{{ post.date | date: "%B %d, %Y" }}">{{ post.date | date: "%B %d, %Y" }}</time>
</div>
</div>
<hr>
</section>
{% break %}
{% endif %}
{% endfor %}
</article>