2014-08-22 00:01:20 +02:00
|
|
|
<script type="application/ld+json">
|
2014-08-18 12:10:01 +02:00
|
|
|
[{
|
|
|
|
"@context" : "http://schema.org",
|
|
|
|
"@type" : "Event",
|
|
|
|
"name" : "{{ site.title }}",
|
|
|
|
"description": "{{ site.description }}",
|
|
|
|
"image" : "{{ site.socialImageSrcGooglePlus | prepend: site.baseurl | prepend: site.url }}",
|
|
|
|
"url" : "{{ site.url }}",
|
|
|
|
"startDate" : "{{ site.eventStartTime }}",
|
|
|
|
"doorTime" : "{{ site.eventDoorTime }}",
|
|
|
|
"endDate" : "{{ site.eventEndTime }}",
|
|
|
|
"location" : {
|
|
|
|
"@type" : "Place",
|
|
|
|
"name" : "{{ site.eventLocationName }}",
|
|
|
|
"sameAs" : "{{ site.eventLocationLink }}",
|
|
|
|
"address" : {
|
|
|
|
"@type" : "PostalAddress",
|
|
|
|
"streetAddress" : "{{ site.eventStreetAddress }}",
|
|
|
|
"addressLocality" : "{{ site.eventAddressLocality }}",
|
|
|
|
"addressRegion" : "{{ site.eventAddressLocalityRegion }}",
|
|
|
|
"postalCode" : "{{ site.eventPostalCode }}",
|
|
|
|
"addressCountry" : "{{ site.eventAddressCountry }}"
|
2014-08-19 15:37:19 +02:00
|
|
|
},
|
|
|
|
"geo" : {
|
|
|
|
"@type" : "GeoCoordinates",
|
|
|
|
{% assign coordinates = site.eventPlaceCoordinates | split:"," %}
|
|
|
|
"latitude" : "{{ coordinates[0] }}",
|
|
|
|
"longitude" : "{{ coordinates[1] }}"
|
2014-08-18 12:10:01 +02:00
|
|
|
}
|
|
|
|
},
|
2014-08-22 00:01:20 +02:00
|
|
|
// Not supported yet
|
|
|
|
// "organizer" : {
|
|
|
|
// "@type" : "Organization",
|
|
|
|
// "name" : "{{ site.organizerName }}",
|
|
|
|
// "alternateName" : "{{ site.organizerAlternateName }}",
|
|
|
|
// "description" : "{{ site.organizerDescription }}",
|
|
|
|
// "logo" : "{{ site.organizerLogo | prepend: site.baseurl | prepend: site.url }}",
|
|
|
|
// "email" : "{{ site.organizerEmail }}",
|
|
|
|
// "sameAs" : "{{ site.organizerLink }}"
|
|
|
|
// },
|
2014-08-29 16:57:46 +02:00
|
|
|
"subEvent" : {
|
|
|
|
"@type" : "Event",
|
|
|
|
"name" : "{{ site.hackathonTitle }}",
|
|
|
|
"description": "{{ site.hackathonRows[0].details }}",
|
|
|
|
"image" : "{{ site.socialImageSrcGooglePlus | prepend: site.baseurl | prepend: site.url }}",
|
|
|
|
"url" : "{{ site.url | append: site.baseurl }}/hackathon/",
|
|
|
|
"startDate" : "{{ site.hackathonStartTime }}",
|
|
|
|
"doorTime" : "{{ site.hackathonDoorTime }}",
|
|
|
|
"endDate" : "{{ site.hackathonEndTime }}",
|
|
|
|
"location" : {
|
|
|
|
"@type" : "Place",
|
|
|
|
"name" : "{{ site.hackathonLocationName }}",
|
|
|
|
"sameAs" : "{{ site.hackathonLocationLink }}",
|
|
|
|
"address" : {
|
|
|
|
"@type" : "PostalAddress",
|
|
|
|
"streetAddress" : "{{ site.hackathonStreetAddress }}",
|
|
|
|
"addressLocality" : "{{ site.hackathonAddressLocality }}",
|
|
|
|
"addressRegion" : "{{ site.hackathonAddressLocalityRegion }}",
|
|
|
|
"postalCode" : "{{ site.hackathonPostalCode }}",
|
|
|
|
"addressCountry" : "{{ site.hackathonAddressCountry }}"
|
|
|
|
},
|
|
|
|
"geo" : {
|
|
|
|
"@type" : "GeoCoordinates",
|
|
|
|
{% assign hackathonCoordinates = site.hackathonPlaceCoordinates | split:"," %}
|
|
|
|
"latitude" : "{{ hackathonCoordinates[0] }}",
|
|
|
|
"longitude" : "{{ hackathonCoordinates[1] }}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2014-08-18 12:10:01 +02:00
|
|
|
"offers" : [
|
|
|
|
{% for ticketsOffer in site.ticketsOffers %}
|
|
|
|
{
|
|
|
|
"@type" : "Offer",
|
|
|
|
"name" : "{{ ticketsOffer.name }}",
|
|
|
|
"url" : "{{ ticketsOffer.buyButtonLink }}",
|
|
|
|
"price" : "{{ ticketsOffer.price }}",
|
2014-08-25 11:42:51 +02:00
|
|
|
"priceCurrency" : "{{ ticketsOffer.priceCurrency }}",
|
2014-08-18 12:10:01 +02:00
|
|
|
"validFrom" : "{{ ticketsOffer.validFrom }}",
|
|
|
|
"validThrough" : "{{ ticketsOffer.validThrough }}"
|
|
|
|
}{% if forloop.index != forloop.length %},{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
],
|
|
|
|
"performer" : [
|
|
|
|
{% for speaker in site.data.speakers %}
|
|
|
|
{
|
|
|
|
"@type" : "Person",
|
|
|
|
"name" : "{{ speaker.name }} {{ speaker.surname }}",
|
2014-09-29 17:25:11 +02:00
|
|
|
"image" : "{{ site.url | append: site.baseurl | append: '/img/people/' | append: speaker.thumbnailUrl }}",
|
2014-08-18 12:10:01 +02:00
|
|
|
"jobTitle" : "{{ speaker.title }}",
|
|
|
|
"worksFor" : {
|
|
|
|
"@type" : "Organization",
|
|
|
|
"name" : "{{ speaker.company }}"
|
2014-08-19 15:37:19 +02:00
|
|
|
},
|
2014-08-18 12:10:01 +02:00
|
|
|
"sameAs" : "{{ speaker.social[0].link }}"
|
|
|
|
}{% if forloop.index != forloop.length %},{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
],
|
|
|
|
"eventStatus" : "EventScheduled",
|
|
|
|
"typicalAgeRange" : "16+"
|
|
|
|
}]
|
2014-08-22 00:01:20 +02:00
|
|
|
</script>
|