2023-05-16 20:24:18 +02:00
{{ define "main" }}
2023-06-26 15:32:53 +02:00
{{ $cfp_open := false }}
2023-05-16 20:24:18 +02:00
< div > {{ .Content }}< / div >
{{ if isset .Params "event_start" }}
{{ $event_start := .Params.event_start | time }}
2023-06-15 13:50:43 +02:00
{{ if le now $event_start }}
{{ if .Params.event_cfp_link }}
< h2 > Call for Proposals< / h2 >
< p > Een goed programma is afhankelijk van sprekers met interessante lezingen. Wil je bijdragen aan dit programma, dan verwelkomen we graag je inzending(en)!< / p >
{{ if .Params.event_cfp_start_date }}
{{ $event_cfp_start_date := .Params.event_cfp_start_date | time }}
{{ if le now $event_cfp_start_date }}
< p > De Call for Proposals opent op {{ .Params.event_cfp_start_date | time.Format ":date_full" }}.< / p >
{{ else }}
{{ if .Params.event_cfp_end_date }}
{{ $event_cfp_end_date := .Params.event_cfp_end_date | time }}
{{ if ge now $event_cfp_end_date }}
< p > De Call for Proposals is gesloten na {{ $event_cfp_end_date }}. Mocht je toch nog een inzending hebben, neem dan contact op met de programmacommissie.< / p >
{{ else }}
< a href = "{{ .Params.event_cfp_link }}" class = "button" > Naar CFP< / a >
2023-06-26 15:32:53 +02:00
{{ $cfp_open = true }}
2023-06-15 13:50:43 +02:00
{{ end }}
{{ else }}
< a href = "{{ .Params.event_cfp_link }}" class = "button" > Naar CFP< / a >
2023-06-26 15:32:53 +02:00
{{ $cfp_open = true }}
2023-06-15 13:50:43 +02:00
{{ end }}
{{ end }}
{{ else }}
< p > Fout: Er ontbreekt een datum wanneer de CFP open gaat (event_cfp_start).< / p >
{{ end }}
{{ else }}
< p > Fout: Er ontbreekt een link voor de Call for Proposals (event_cfp_link).< / p >
{{ end }}
{{ end }}
< h2 > Locatie, datum en tijden< / h2 >
2023-05-22 11:09:23 +02:00
< div class = "highlight-box highlight-box-nluug" >
2023-06-15 13:50:43 +02:00
< h3 > {{ .Params.event_location }}< / h3 >
2023-05-16 20:24:18 +02:00
< p > {{ .Params.event_address.street_address }}< br > {{ .Params.event_address.postal_code }}, {{ .Params.event_address.city }}< br > {{ .Params.event_address.country_name }}< / p >
2023-06-15 13:50:43 +02:00
{{ $compare_event_start_date := .Params.event_start | time.Format "2006-01-02" }}
{{ $compare_event_end_date := .Params.event_end | time.Format "2006-01-02" }}
{{ if eq $compare_event_start_date $compare_event_end_date }}
< h3 > Datum en tijd< / h3 >
2023-06-15 13:53:01 +02:00
< p > Dit evenement {{ if ge now $event_start }}vond{{ else }}vindt{{ end}} plaats op {{ .Params.event_start | time.Format ":date_full" }} ({{ .Params.event_start | time.Format "15:04" }}-{{ .Params.event_end | time.Format "15:04" }}).< / p >
2023-06-15 13:50:43 +02:00
{{ else }}
< h3 > Data< / h3 >
< ul >
< li > Start evenement: {{ .Params.event_start | time.Format "2006-01-02 15:04" }}< / li >
< li > Einde evenement: {{ .Params.event_end | time.Format "2006-01-02 15:04" }}< / li >
< / ul >
{{ end }}
2023-05-16 20:24:18 +02:00
< / div >
2023-06-15 13:50:43 +02:00
2023-06-06 14:54:32 +02:00
{{ if le now $event_start }}
2023-06-15 13:50:43 +02:00
< h2 > Kalender< / h2 >
< 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 >
2023-06-11 20:47:56 +02:00
{{ if .Params.event_register_link }}
2023-06-15 13:50:43 +02:00
< h2 > Inschrijven< / h2 >
2023-06-06 14:54:32 +02:00
< p > Om deel te nemen aan dit evenement is inschrijving vereist.< / p >
2023-06-11 20:47:56 +02:00
{{ if .Params.event_register_start_date }}
{{ $event_register_start_date := .Params.event_register_start_date | time }}
{{ if le now $event_register_start_date }}
2023-06-11 20:56:02 +02:00
< p > De inschrijving opent op {{ .Params.event_register_start_date | time.Format ":date_full" }}.< / p >
2023-06-11 20:47:56 +02:00
{{ else }}
{{ if .Params.event_register_end_date }}
{{ $event_register_end_date := .Params.event_register_end_date | time }}
{{ if ge now $event_register_end_date }}
< p > De inschrijving is inmiddels gesloten< / p >
{{ else }}
< a href = "{{ .Params.event_register_link }}" class = "button" > Inschrijven< / a >
{{ end }}
{{ else }}
< a href = "{{ .Params.event_register_link }}" class = "button" > Inschrijven< / a >
{{ end }}
{{ end }}
{{ else }}
< p > Fout: Er ontbreekt een datum wanneer inschrijving open gaat.< / p >
{{ end }}
{{ else }}
< p > Fout: Er ontbreekt een link om in te schrijven.< / p >
2023-06-06 14:54:32 +02:00
{{ end }}
{{ else }}
2023-06-15 13:50:43 +02:00
< h2 > Presentaties, foto's en opnames< / h2 >
2023-06-06 14:54:32 +02:00
< p > Na de conferentie verzamelen we de opnames en foto's. Nadat ze beschikbaar komen zijn ze te raadplegen via de pagina's in onderstaand programma.< / p >
{{ end }}
2023-05-16 20:24:18 +02:00
{{ else }}
< p > Waarschuwing: dit evenement mist gegevens zoals start en einddatum.< / p >
{{ end }}
2023-06-15 13:50:43 +02:00
2023-05-22 11:09:23 +02:00
<!-- TODO
< h2 > Sprekers< / h2 >
Nog in te vullen
-->
2023-05-16 20:24:18 +02:00
< h2 > Programma< / h2 >
2023-06-26 15:32:53 +02:00
{{ if $cfp_open }}
< p class = "darkgreen" > De CFP is geopend!< / p >
< p > Wil je graag een bepaalde spreker zien? Contacteer onze < a href = "{{ relref . " organisatie / commissies / pc / index . md " } } " > programmacommissie< / a > .< / p >
< p > Heb je zelf een leuke presentatie in gedachten? Dien dan een voorstel in!< / p >
< a class = "btn btn-cta" href = "{{ if .Params.event_cfp_link }}{{ .Params.event_cfp_link }}{{ else }}https://cfp.nluug.nl/{{ end }}" rel = "nofollow noopener" > Voorstel indienen< / a >
< p > < strong > Leestip< / strong > : < a href = "{{ relref . " evenementen / nluug / cfp / index . md " } } " > tips voor sprekers en onze werkwijze< / a > .< / p >
{{ end }}
2023-05-16 20:24:18 +02:00
{{ $.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) }}
{{ with .talk }}
{{ if .speaker }}
< strong > {{ .speaker }}< / strong > < br >
{{ else }}
2023-06-26 15:13:36 +02:00
{{ if not .keynote }}< span > ?< / span > {{ end}}
2023-05-16 20:24:18 +02:00
{{ 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 }}
2023-05-22 11:09:23 +02:00
< p > Waarschuwing: dit conferentieprogramma is niet goed geconfigureerd in de front matter.< / p >
2023-05-16 20:24:18 +02:00
{{ end }}
{{ end }}