Skip to content

Commit

Permalink
Merge pull request #47 from boschglobal/swvanbuuren/full-speakers-sch…
Browse files Browse the repository at this point in the history
…edule
  • Loading branch information
michael-bling authored Jul 10, 2023
2 parents 485cd8e + e06e8fb commit 66a118b
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 20 deletions.
6 changes: 1 addition & 5 deletions docs/keynotes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,4 @@ and 15 minutes.

The Auditorium's location is found on the [floor plan](../venue#floor-plan).

{% call tiles.presentation_tile_wall() %}
{% for key in keynotes %}
{{ tiles.presentation_tile(metadata=keynotes, id=key) }}
{% endfor %}
{% endcall %}
{{ tiles.presentation_tile_overview(data=keynotes) }}
19 changes: 16 additions & 3 deletions docs/speakers/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,22 @@ hide:
- toc
---

{% import 'tiles.md' as tiles %}

# Speakers

This sections features the following schedules:
This sections features the speaker schedules for all keynotes and talks.

## Keynotes

Please see the [keynotes schedule](/embedded-linux/keynotes/) for additional
information.

{{ tiles.presentation_tile_overview(data=keynotes) }}

## Talks / Presentations

Please see the [talks schedule](/embedded-linux/talks/) for additional
information.

- [Keynotes schedule](../keynotes)
- [Talks / Presentations schedule](../talks)
{{ tiles.presentation_tile_timeslot_overview(data=talks) }}
13 changes: 1 addition & 12 deletions docs/talks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,4 @@ place. Each talk will last about 20 min. plus 5 min. discussion time.
The location of each meeting room is found on the [floor
plan](../venue#floor-plan).

##

{% set ns = namespace(old_time='') %}
{% call tiles.presentation_tile_wall() %}
{% for key, value in talks.items() %}
{% if ns.old_time != value.time %}
{{ tiles.presentation_time_tile(value.time) }}
{% endif %}
{{ tiles.presentation_tile(metadata=talks, id=key) }}
{% set ns.old_time = value.time %}
{% endfor %}
{% endcall %}
{{ tiles.presentation_tile_timeslot_overview(data=talks) }}
23 changes: 23 additions & 0 deletions include/tiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,27 @@
<h3>{{ time }}</h3>
</div>
</a>
{%- endmacro %}


{% macro presentation_tile_overview(data) %}
{% call presentation_tile_wall() %}
{% for key in data %}
{{ presentation_tile(metadata=data, id=key) }}
{% endfor %}
{% endcall %}
{%- endmacro %}


{% macro presentation_tile_timeslot_overview(data) %}
{% set ns = namespace(old_time='') %}
{% call presentation_tile_wall() %}
{% for key, value in data.items() %}
{% if ns.old_time != value.time %}
{{ presentation_time_tile(value.time) }}
{% endif %}
{{ presentation_tile(metadata=data, id=key) }}
{% set ns.old_time = value.time %}
{% endfor %}
{% endcall %}
{%- endmacro %}

0 comments on commit 66a118b

Please sign in to comment.