www.iger.events/layouts/shortcodes/schedule.html

53 lines
1.5 KiB
HTML
Raw Permalink Normal View History

{{ with $.Site.Data.schedule }}
2022-08-14 21:48:45 +02:00
<p class="schedule-info">
Version: <span class="schedule-version">{{ .version }}</span>
<br>Zeitangaben in <span class="schedule-timezone">{{ .timezone }}</span>
2022-08-14 21:48:45 +02:00
</p>
<div class="schedule-container">
<div class="schedule-days">
{{ range .days }}
<a href="#{{ . }}">{{ . }}</a>&middot;
2022-08-14 21:48:45 +02:00
{{ end }}
<a href="#">zurück nach oben</a>
</div>
2022-08-14 21:48:45 +02:00
<div class="schedule">
<div class="schedule-grid schedule-timeline" style="--span: {{ .span }}">
<h3 class="schedule-title"></h3>
{{ $lastDate := "" }}
{{ range .timeline }}
<div class="schedule-time" style="--start: {{ .start }}">
{{ if ne .date $lastDate }}
<div class="schedule-date" id="{{ .date }}">{{ .date }}</div>
2022-08-14 21:48:45 +02:00
{{ end }}
{{ .time }}
</div>
{{ $lastDate = .date }}
2022-08-14 21:48:45 +02:00
{{ end }}
</div>
2022-08-29 19:52:57 +02:00
{{ $rooms := .rooms }}
{{ range .room_sequence }}
<div class="schedule-grid schedule-room">
2022-08-29 19:52:57 +02:00
<h3 class="schedule-title">{{ . }}</h3>
{{ range index $rooms . }}
<a class="schedule-event" href="{{ .url }}" style="--start: {{ .start }};--end: {{ .end }}" target="_blank">
<div class="schedule-event-time">
<span>{{ .start_time }}</span>
<span>&ndash;</span>
<span>{{ .end_time }}</span>
</div>
<div class="schedule-event-detail">
2022-09-05 16:08:30 +02:00
{{ with .speaker }}
<p class="schedule-speaker" title="{{ . }}">{{ . }}:</p>
{{ end }}
<h4 class="schedule-title" title="{{ .title }}">{{ .title }}</h4>
</div>
</a>
2022-08-14 21:48:45 +02:00
{{ end }}
</div>
2022-08-14 21:48:45 +02:00
{{ end }}
</div>
2022-08-14 21:48:45 +02:00
</div>
{{ end }}