Skip to content

event-date

An event's dates and times, each in its own time zone and the visitor's, with a link to add it to a calendar. On an event's page only.

Where it sits

Body In the body Inside its texts
The store’s home No No
A custom page No No
A product’s page No No
An event’s page Yes No
A portfolio’s page No No
A lesson No No
An article No No

See Bodies for how a body holds its blocks.

Props

Name Type Required Description
id string Yes The block’s id, unique within its body.
type "event-date" Yes The block’s type.
hidden boolean No Whether the block is hidden: it, and every block it holds, doesn’t show.

JSON Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The block's id, unique within its body."
    },
    "type": {
      "type": "string",
      "const": "event-date",
      "description": "The block's type."
    },
    "hidden": {
      "type": "boolean",
      "description": "Whether the block is hidden: it, and every block it holds, doesn't show."
    }
  },
  "required": [
    "id",
    "type"
  ],
  "description": "An event's dates and times, each in its own time zone and the visitor's, with a link to add it to a calendar. On an event's page only.",
  "additionalProperties": false
}

Type to search…

↑↓ navigate↵ selectEsc close