/
index.html
34 lines (33 loc) · 1.44 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
---
layout: default
title: Games on Demand at GenCon
description: List of Time Slots and Days for Games on Demand
---
<article class="homepage" itemscope itemtype="http://schema.org/SocialEvent">
<meta itemprop="name" content="{{ page.title}}">
<div class="row schedule">
{% for day_data in site.data.times %}
<div class="small-3 columns day {{ day_data[0] | downcase }}">
{% assign date = day_data[1] %}
{% assign day_slug = date.day | date: '%A' | downcase %}
<div itemprop="subEvent" itemscope itemtype="http://schema.org/SocialEvent">
<div itemprop="description">
<a class="button tiny round" itemprop="url" href="{{ site.url }}/{{ day_slug }}">
<time datetime="{{ date.day }}">{{ date.day | date: '%a' }}</time>
</a>
<ul class="no-bullet">
{% for times in date.times %}
{% assign hour = times[0] %}
{% assign hour_data = times[1] %}
<li itemprop="subEvent" itemscope itemtype="http://schema.org/SocialEvent">
<meta itemprop="description" content="{{ date.day | date: '%A' }} {{ hour }}">
<a class="button tiny secondary round" itemprop="url" href="#"><time datetime="{{ hour_data.time | date_to_xmlschema }}">{{ hour }}</time></a>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
{% endfor %}
</div>
</article>