Toevoegen van een programma aan conferentie-pagina

This commit is contained in:
Michael Boelen 2023-05-16 20:24:18 +02:00
parent 3613720710
commit a3f30ceabf
2 changed files with 325 additions and 0 deletions

View file

@ -9,6 +9,7 @@ tags:
- conferenties - conferenties
slug: slug:
title: "NLUUG Najaarsconferentie 2023" title: "NLUUG Najaarsconferentie 2023"
layout: schedule-event
event_title: "NLUUG Najaarsconferentie 2023" event_title: "NLUUG Najaarsconferentie 2023"
event_start: 2023-11-28T08:30:00+02:00 event_start: 2023-11-28T08:30:00+02:00
event_end: 2023-11-28T18:00:00+02:00 event_end: 2023-11-28T18:00:00+02:00
@ -21,6 +22,220 @@ event_address:
country_name: "The Netherlands" country_name: "The Netherlands"
event_members_only: true event_members_only: true
event_register_link: "https://nluug.nl/aanmelden/index.cgi?action=event" event_register_link: "https://nluug.nl/aanmelden/index.cgi?action=event"
event_schedule:
title: Programma
description: Alleen maar geweldige sprekers
columns: 4
headers:
- header:
width: 10
- header:
text: Zaal 1
center: true
width: 30
- header:
text: Zaal 2
center: true
width: 30
- header:
text: Zaal 3
center: true
width: 30
rows:
- row:
columns:
- column:
time: 08:30
- column:
textfield:
text: Inschrijving, ontvangst, koffie
size: 3
center: true
- row:
columns:
- column:
time: 09:15
- column:
textfield:
text: Openingswoord
center: true
size: 3
- row:
columns:
- column:
time: 09:30
- column:
talk:
speaker: Patrick Reijnen
title: Beste keynote ever
keynote: true
link: /
center: true
size: 3
- row:
columns:
- column:
time: 10:30
- column:
textfield:
text: Koffiepauze
center: true
size: 3
- row:
columns:
- column:
time: 11:00
- column:
talk:
speaker: Ronny Lam
title: Goed met Geld
link: /
- column:
talk:
speaker: Koen de Jonge
title: PC-voorzitter staat niet voor Personal Computer Voorzitter
- column:
talk:
speaker: Hans Van de Looy
title: Eenhoorns, de ultieme magische wezens
- row:
columns:
- column:
time: 11:45
- column:
size: 3
- row:
columns:
- column:
time: 11:50
- column:
talk:
speaker: Mark Janssen
title: Niet te filmen...
- column:
talk:
speaker: H. Acker
title: XSS = €
- column:
talk:
speaker: Brenda Langedijk
title: "Penningmeester: Ik controleer alle uitgegeven centen!"
- row:
columns:
- column:
time: 12:35
- column:
textfield:
text: Lunch
center: true
size: 3
- row:
columns:
- column:
time: 13:10
- column:
- column:
textfield:
text: NLUUG Algemene Ledenvergadering (ALV)
link: https://nluug.nl/leden/alv/2023vj/
center: true
- column:
- row:
columns:
- column:
time: 14:00
- column:
talk:
speaker: Luc Nieland
title: Draaien maar!
- column:
talk:
speaker: Geluidsman van het Hotel
title: Ja hallo, dit hadden we niet afgesproken
- column:
talk:
speaker: De Politie
title: Geen centje pijn op ons glitterfestijn
- row:
columns:
- column:
time: 14:45
- column:
size: 3
- row:
columns:
- column:
time: 14:50
- column:
talk:
speaker: Debbie Reinders
title: Jaja, dat zal allemaal wel
- column:
talk:
speaker: Rogier Spoor en Willem Toorop
title: Een duo-presentatie, want waarom ook niet?
- column:
talk:
speaker: Hans van Zijst
title: Een titel zonder spelfouten, of toch niet?
- row:
columns:
- column:
time: 15:35
- column:
textfield:
text: Koffiepauze
center: true
size: 3
- row:
columns:
- column:
time: 16:00
- column:
talk:
speaker: Rudi van Drunen
title: Woont niet in Drunen
- column:
talk:
speaker: Jan Sepp
title: Tijd om lid te worden!
link: /lidmaatschap/aanmelden/
- column:
talk:
speaker: Fred Donck
title: Pixels en nog meer pixels
- row:
columns:
- column:
time: 16:45
- column:
size: 3
- row:
columns:
- column:
time: 16:50
- column:
talk:
speaker: Björn Wijers
title: Hersenspoeling
- column:
talk:
speaker: Michael Boelen
title: Hyper Technical Machine Learning
link: /website/
- column:
talk:
speaker: Reinoud van Leeuwen
title: Kiek, ik heb je!
- row:
columns:
- column:
time: 17:55
- column:
textfield:
text: Borrel, gesponsord door ...?
center: true
size: 3
--- ---
We zijn weer aan de slag voor de najaarsconferentie! We zijn weer aan de slag voor de najaarsconferentie!

View file

@ -0,0 +1,110 @@
{{ define "main" }}
{{ with .Params.event_title }}<h2>{{ . }}</h2>{{ end }}
<div>{{ .Content }}</div>
{{ if isset .Params "event_start" }}
{{ $event_start := .Params.event_start | time }}
<div class="highlight-box">
<h3>Locatie</h3>
<strong>{{ .Params.event_location }}</strong>
<p>{{ .Params.event_address.street_address }}<br>{{ .Params.event_address.postal_code }}, {{ .Params.event_address.city }}<br>{{ .Params.event_address.country_name }}</p>
<h3>Datum en tijd</h3>
<ul>
<li>Start: {{ time.Format "02-01-2006 15:04" .Params.event_start }}</li>
<li>Einde: {{ time.Format "02-01-2006 15:04" .Params.event_end }}</li>
</ul>
</div>
{{ with .Params.event_register_link }}
{{ if le now $event_start }}
<a href="{{ . }}" class="button">Inschrijven</a>
{{ else }}
<p>Dit evenement is al afgelopen, inschrijven is daarom niet meer mogelijk.</p>
{{ end }}
{{ end }}
<h3>Kalender</h3>
<p>Zet het event alvast in je agenda met onderstaande opties!</p>
<ul>
{{ with .OutputFormats.Get "calendarevent" }}
<li><a href="{{ .RelPermalink }}">Importeren via iCal-bestand</a></li>
{{ end }}
<li><a href="https://www.google.com/calendar/render?action=TEMPLATE&text={{ .Params.event_title | urlquery }}&details=Locatie:%20{{ .Params.event_location | urlquery }}&location={{ .Params.event_address.street_address }}%2c%20{{ .Params.event_address.postal_code }}%2c%20{{ .Params.event_address.city }}%2c%20{{ .Params.event_address.country_name }}&dates={{ time.Format "20060102T150405" .Params.event_start }}/{{ time.Format "20060102T150405" .Params.event_end }}&ctz={{ .Params.event_timezone }}">Importeren naar Google-kalender</a></li>
</ul>
{{ else }}
<p>Waarschuwing: dit evenement mist gegevens zoals start en einddatum.</p>
{{ end }}
<h2>Programma</h2>
{{ $.Scratch.Set "counter" 0 }}
{{ with .Params.event_schedule }}
{{ $.Scratch.Set "counter" (add ($.Scratch.Get "counter") 1) }}
{{ with .name }}<h3>{{$.Scratch.Get "counter"}}. {{ . }}</h3>{{ end }}
<div class="table-wrapper">
<table class="fl-table">
{{ with .headers }}
<thead>
<tr>
{{ range . }}
<th{{ if .width }} class="w-{{ .width }}"{{ end }}>{{ .text }}</th>
{{ end }}
</tr>
</thead>
{{ end }}
<tbody>
{{ with .rows }}
{{ range . }}
<tr>
{{ $.Scratch.Set "counter" (add ($.Scratch.Get "counter") 1) }}
{{ with .description }}<blockquote>{{ . }}</blockquote>{{ end }}
{{ $.Scratch.Set "counter2" 0 }}
{{ with .columns }}
{{ range . }}
<td{{ if .size }} colspan="{{ .size }}"{{ end }}{{ if .center}} style="text-align:center;"{{ end }}>
{{ if .time }}<small>{{ .time }}</small>{{ end }}
{{ $.Scratch.Set "counter2" (add ($.Scratch.Get "counter2") 1) }}
<!-- <b>{{ $.Scratch.Get "counter" }}.{{ $.Scratch.Get "counter2" }}. {{ .name }}</b>-->
{{ with .talk }}
{{ if .speaker }}
<strong>{{ .speaker }}</strong><br>
{{ else }}
<strong>Jouw talk?</strong>
{{ end }}
{{ if and (.title) (.link) }}
{{ if .link }}
{{ if .keynote }}<strong>Keynote:</strong> {{ end }}<a href="{{ .link }}">{{ .title }}</a>
{{ else }}
<em>{{ . }}</em>
{{ end }}
{{ else }}
{{ if .title }}{{ if .keynote }}<strong>Keynote:</strong> {{ end }}<em>{{ .title }}</em>{{ end }}
{{ end }}
{{ end }}
{{ with .textfield }}
{{ if and (.text) (.link) }}
<em><a href="{{ .link }}">{{ .text }}</a></em>
{{ else }}
{{ with .text }}<em>{{ . }}</em><br>{{ end }}
{{ end }}
{{ end }}
</td>
{{ end }}
{{ end }}
</tr>
{{ end }}
{{ end }}
</tbody>
</table>
</div>
{{ else }}
<p>Waarschuwing: dit project is niet goed geconfigureerd in de front matter.</p>
{{ end }}
{{ end }}