From b7d9ae60ad92468cbf5e34ea1b6cf8a1656c8768 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Wed, 16 Dec 2015 22:24:22 -0500 Subject: template: `id', `class' attr. for block elements. block elements include: -
-
-
--- templates/lp-sch-2016.jinja2 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'templates') diff --git a/templates/lp-sch-2016.jinja2 b/templates/lp-sch-2016.jinja2 index ce31dee..e516157 100644 --- a/templates/lp-sch-2016.jinja2 +++ b/templates/lp-sch-2016.jinja2 @@ -23,7 +23,7 @@ {# make day header macro #} {% macro mk_day_header(day) %} -
+

{{ day }}

@@ -32,7 +32,7 @@ {# make timeslot header macro #} {% macro mk_timeslot_header(timeslot) %} -
+

{{ timeslot }}

@@ -41,7 +41,7 @@ {# make session header macro #} {% macro mk_session_header(session) %} -
+

{{ session }}

@@ -58,7 +58,7 @@ {# populate sessions macro #} {% macro populate_sessions(sessions, day_index, timeslot_index) %} {% for session, session_info in sessions.iteritems() %} {# session start #} -
+
{{ mk_session_header(session) }}

{{ session_info['speaker'] }}

{{ session_info['room'] }}

@@ -70,7 +70,7 @@ {# populate timeslots macro #} {% macro populate_timeslots(timeslots, day_index) %} {% for timeslot, sessions in timeslots.iteritems() %} {# timeslot start #} -
+
{{ mk_timeslot_header(timeslot) }} {{ populate_sessions(sessions, day_index, loop.index) }}
@@ -79,7 +79,7 @@ {# lp 2016 template start #} {% for day, timeslots in schedule.iteritems() %} {# day start #} -
+
{{ mk_day_header(day) }} {{ populate_timeslots(timeslots, loop.index) }}
-- cgit v1.2.3