From 5c428434966094a49802a8fbaaedbdef2a6d478d Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Sun, 20 Oct 2024 18:16:44 +0000 Subject: [PATCH] Add Offer: free access for members to Event --- .../nluug/layouts/partials/schemas/schema_Event.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/themes/nluug/layouts/partials/schemas/schema_Event.html b/themes/nluug/layouts/partials/schemas/schema_Event.html index 68d10ab..929f05e 100755 --- a/themes/nluug/layouts/partials/schemas/schema_Event.html +++ b/themes/nluug/layouts/partials/schemas/schema_Event.html @@ -7,6 +7,8 @@ "name": "{{ .Title | default .Site.Params.textEmptyValue }}", "startDate": {{ .Params.event_start }}, "endDate": {{ .Params.event_end }}, + "about": ["automation","configuration management","DevOps","internet","Linux","open source","open standards","security","web"], + "audience": ["software developers", "network engineers", "system administrators"], {{ if .Params.event_status }} "eventStatus": "Event{{ .Params.event_status | strings.FirstUpper }}", {{ else }} @@ -20,10 +22,15 @@ "url": "{{ .Site.BaseURL }}" } ], - "audience": ["software developers", "network engineers", "system administrators"], "eventAttendanceMode": "https://schema.org/{{ if eq .Params.event_attendance_mode "hybrid" }}Mixed{{ else if eq .Params.event_attendance_mode "mixed" }}Mixed{{ else if eq .Params.event_attendance_mode "online" }}Online{{ else }}Offline{{ end }}EventAttendanceMode", "isAccessibleForFree": true, - "about": ["automation","configuration management","DevOps","internet","Linux","open source","open standards","security","web"], + "offers": [ + { + "@type": "Offer", + "name": "Free access for members", + "price": "0", + "priceCurrency": "EUR" + }], "inLanguage": ["en", "nl"], {{ if .Params.event_description }}"description": "{{ .Params.event_description }}",{{ end }} {{ if .Params.online_event }}