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
Problem
The
Eventschema on the homepage has a generic placeholder forperformer:```json
"performer": {
"@type": "Organization",
"name": "Python Community Speakers"
}
```
Google uses
performerto 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 instructured-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
performerfield should be removed from the Event schema entirely rather than using a placeholder.Files to change
layouts/partials/structured-data.html