From 3671f8efb317ad042d71a9ed18a653e609a184a7 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Thu, 22 Jun 2023 11:18:31 +0200 Subject: [PATCH] Toevoegen Schema.org: Event --- .../schemas/include-relevant-schemas.html | 4 +- .../partials/schemas/schema_Event.html | 60 +++++++++++++++++++ 2 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 themes/nluug/layouts/partials/schemas/schema_Event.html diff --git a/themes/nluug/layouts/partials/schemas/include-relevant-schemas.html b/themes/nluug/layouts/partials/schemas/include-relevant-schemas.html index 0c583df..b8ea0b3 100644 --- a/themes/nluug/layouts/partials/schemas/include-relevant-schemas.html +++ b/themes/nluug/layouts/partials/schemas/include-relevant-schemas.html @@ -6,7 +6,9 @@ {{- else if .IsPage -}} - {{ if in .Params.content_types "person" }} + {{ if .Params.is_event }} + {{ partial "schemas/schema_Event.html" . }} + {{ else if in .Params.content_types "person" }} {{ partial "schemas/schema_Person.html" . }} {{ else }} {{ partial "schemas/schema_WebPage.html" . }} diff --git a/themes/nluug/layouts/partials/schemas/schema_Event.html b/themes/nluug/layouts/partials/schemas/schema_Event.html new file mode 100644 index 0000000..34702f3 --- /dev/null +++ b/themes/nluug/layouts/partials/schemas/schema_Event.html @@ -0,0 +1,60 @@ +