{% extends "templates/partials/twocol.html" %} {% block title %}{% parent %} - {{ cms.schedule.name }}{% endblock %} {# Set a variable to create a fake nbsp space since the spaceless command is sometimes way too agressive on killing whitespace. #} {% set nbsp = ' ' %} {% block above_content %}

{{ cms.schedule.name }}

{% endblock %} {% block content %} {% set data = get('event') %} {% spaceless %} {# Set time_start variables for day and time so that we can use the groupBy filter in our for loops based on Day and Time. Ideally we would be able to groupBy('time_start|date()') but this will do for now #} {% for item in data %} {% set item._day = item.time_start|date('F d, Y') %} {% set item._time = item.time_start|date('g:i A') %} {% set item._hash = loop.key %} {% endfor %} {% endspaceless %} {# The spaceless command is sometimes too agrresive. Use this to var to force a space #} {% set space = " " %} {% spaceless %}
{% for day, outerGroup in data|sort('time_start')|groupBy('_day') %}

{{ day|date('F d') }}

{% for time, innerGroup in outerGroup|sort('time_start')|groupBy('time_start') %}
{{ time|date('g:i A') }}{{ time|date('- M j') }}
{% for item in innerGroup|sort('time_start') %}
{# MAIN EVENT ROW #} {# MAIN EVENT ROW #} {# MAIN EVENT ROW #}

{{ item.name }}

{% if item.category %} {{item.category}} {% endif %} {% for relation in item.guests|sort('tier') %} {% if loop.first %}{{nbsp}}-{{nbsp}}{% endif %} {{ relation.name }} {% if !loop.last or item.exhibitors.length > 0 %},{{nbsp}}{% endif %} {% endfor %} {% for relation in item.exhibitors|sort('tier') %} {% if loop.first and item.guests.length == 0 %}{{nbsp}}-{{nbsp}}{% endif %} {{ relation.name }} {% if !loop.last %},{{nbsp}}{% endif %} {% endfor %} {# {% if item.time_end %} {{nbsp}}-{{nbsp}}Ends at{{space}}{{ item.time_end|date('g:i A') }} {% endif %} #} {# {% if item.stream %} {% endif %} #}

{% for relation in item.location %} {% endfor %}
{# EVENT MODAL #} {# EVENT MODAL #} {# EVENT MODAL #}
{% endfor %}
{% endfor %} {% endfor %}
{% endspaceless %} {% endblock %} {% block aside %} {% spaceless %}

Here you will find a list of the awesome content we have scheduled so far.

Follow @TwitchCon
for more announcements!

{# Search and Filter #}
{% endspaceless %} {% include "templates/partials/location-hours.html" %} {% endblock %} {# END ASIDE #} {% block scripts_extra %} {% endblock %}