7
0
Fork 0

Toevoegen extra velden aan Event

This commit is contained in:
Michael Boelen 2023-06-22 13:13:20 +02:00
parent 204513d384
commit 982c7e91fc
2 changed files with 11 additions and 3 deletions

View file

@ -20,9 +20,11 @@ event_address:
postal_code: "3526 KV" postal_code: "3526 KV"
city: "Utrecht" city: "Utrecht"
country_name: "The Netherlands" country_name: "The Netherlands"
event_attendance_mode: "offline"
event_cfp_start_date: 2023-05-11 event_cfp_start_date: 2023-05-11
event_cfp_close_date: 2023-09-28 event_cfp_close_date: 2023-09-28
event_cfp_link: https://cfp.nluug.nl/nluug-najaarsconferentie-2023/cfp event_cfp_link: https://cfp.nluug.nl/nluug-najaarsconferentie-2023/cfp
event_description: "Najaarsconferentie 2023 van de vereniging NLUUG in het Van der Valk Hotel te Utrecht"
event_members_only: true event_members_only: true
event_organizers: event_organizers:
- organizer: - organizer:
@ -31,6 +33,7 @@ event_organizers:
event_register_start_date: 2023-06-20 event_register_start_date: 2023-06-20
event_register_end_date: 2023-11-29 event_register_end_date: 2023-11-29
event_register_link: "https://leden.nluug.nl/aanmelden/index.cgi?action=event" event_register_link: "https://leden.nluug.nl/aanmelden/index.cgi?action=event"
event_status: "scheduled"
event_schedule: event_schedule:
title: Programma title: Programma
description: Alleen maar geweldige sprekers description: Alleen maar geweldige sprekers

View file

@ -7,7 +7,11 @@
"name": "{{ .Title | default .Site.Params.textEmptyValue }}", "name": "{{ .Title | default .Site.Params.textEmptyValue }}",
"startDate": {{ .Params.event_start }}, "startDate": {{ .Params.event_start }},
"endDate": {{ .Params.event_end }}, "endDate": {{ .Params.event_end }},
{{ if not .Params.event_organizers }} {{ if .Params.event_status }}
"eventStatus":"Event{{ .Params.event_status | strings.FirstUpper }}",
{{ else }}
"eventStatus":"EventScheduled",
{{ end }}
"organizer": [ "organizer": [
{ {
"@type": "Organization", "@type": "Organization",
@ -16,10 +20,11 @@
"url": "{{ .Site.BaseURL }}" "url": "{{ .Site.BaseURL }}"
} }
], ],
{{ end }}
"audience": ["software developers", "network engineers", "system administrators"], "audience": ["software developers", "network engineers", "system administrators"],
{{ if .Params.purchaselink }}"offers": "https://nluug.nl/url-to-offer",{{ end }} "eventAttendanceMode": "https://schema.org/{{ if eq .Params.event_attendance_mode "mix" }}Mix{{ else if eq .Params.event_attendance_mode "online" }}Online{{ else }}Offline{{ end }}EventAttendanceMode",
"offers": "{{ absURL "lidmaatschap/aanmelden/" }}",
"about": ["automation","configuration management","DevOps","internet","Linux","open source","open standards","security","web"], "about": ["automation","configuration management","DevOps","internet","Linux","open source","open standards","security","web"],
{{ if .Params.event_description }}"description": "{{ .Params.event_description }}",{{ end }}
{{ if .Params.online_event }} {{ if .Params.online_event }}
"location": { "location": {
"@type": "VirtualLocation", "@type": "VirtualLocation",