Skip to content

Commit

Permalink
Swap Post area_name for label
Browse files Browse the repository at this point in the history
The Post area_name is blank - and possibly no
longer in use - so I've swapped it for the
Post label.
  • Loading branch information
VirginiaDooley authored and Virginia Dooley committed Jun 26, 2024
1 parent 413442e commit ddc8fad
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@

{% if election.election.election_type == 'parl' %}

"name": "UK Parliament Election - {{ election.post.area_name }}",
"description": "Election of the Member of Parliament for {{ election.post.area_name }}",
"name": "UK Parliament Election - {{ election.post.label }}",
"description": "Election of the Member of Parliament for {{ election.post.label }}",
"location": {
"@type": "Place",
"address": "{{ election.post.area_name }}, UK"
"address": "{{ election.post.label }}, UK"
}

{% else %}
Expand Down

0 comments on commit ddc8fad

Please sign in to comment.