Skip to content

Replace Event.performer placeholder with real keynote speakers #19

@matrixise

Description

@matrixise

Problem

The Event schema on the homepage has a generic placeholder for performer:

```json
"performer": {
"@type": "Organization",
"name": "Python Community Speakers"
}
```

Google uses performer to surface speaker rich results. This placeholder adds no value and may be flagged during structured data review.

Fix

Once keynote speakers are confirmed in data/speakers.yml, replace the placeholder with a Hugo range over keynote speakers (the template already exists in structured-data-speakers.html):

```go
"performer": [
{{ range where .Site.Data.speakers "keynote" true }}
{
"@type": "Person",
"@id": "{{ $.Site.BaseURL }}speakers/#{{ .id }}",
"name": "{{ .name }}"
},
{{ end }}
]
```

Until keynote speakers are confirmed, the performer field should be removed from the Event schema entirely rather than using a placeholder.

Files to change

  • layouts/partials/structured-data.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: lowNice to have / backlogschemaStructured data / JSON-LDseoSearch engine optimisation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions