forked from WeLoveSpeed/welovespeed.com
-
Notifications
You must be signed in to change notification settings - Fork 1
/
schema.html
77 lines (77 loc) · 2.45 KB
/
schema.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Event",
"name": "{{ site.seo_title }} 2018",
"description": "{% if include.locale == "en_US" %}{{ site.description_en }}{% else %}{{ site.description }}{% endif %}",
"url": "{{ site.url }}{{ page.baseurl | default:site.baseurl }}",
"image": "https://res.cloudinary.com/we-love-speed/image/fetch/c_limit,f_auto,q_auto,w_960/{{ site.url }}{{ site.baseurl }}/assets/images/social-{{ lang }}.png",
"startDate": "2018-05-25T09:00",
"endDate": "2018-05-26T18:00",
"duration": "P2D",
"location": {
"@type": "Place",
"address": {
"@type": "PostalAddress",
"streetAddress": "17 place de la Bourse",
"postalCode": "33076",
"addressLocality": "Bordeaux",
"addressRegion": "Gironde"
},
"name": "Palais de la Bourse"
},
"organizer": {
"@type": "Organization",
"name": "{{ site.seo_title }}",
"logo": "{{ site.logo }}",
"sameAs": [
{% for social in site.data.social %}
"{{social.url}}"{% unless forloop.last %},{% endunless %}
{% endfor%}
],
"contactPoint": {
"@type": "ContactPoint",
"url": "{{ site.url }}{{ page.baseurl | default:site.baseurl }}/{% t contact %}/",
"contactType" : "customer service",
"contactOption": "TollFree"
},
"member": [
{% for member in staff %}
{% unless forloop.first %},{% endunless %}
{
"@type": "Person",
"name": "{{ member.firstname }} {{ member.lastname }}",
"sameAs": [
"https://twitter.com/{{ member.twitter }}",
"{{ member.url }}"
]
}
{% endfor %}]
},
"offers": {
"@type": "Offer",
"price": "{{ site.tickets.price }}",
"priceCurrency": "{{ site.tickets.price_currency }}",
"validFrom": "2018-01-22T00:00",
"validThrough": "2018-05-25T09:00",
"availability": "http://schema.org/InStock",
"url": "{{ site.url }}{{ page.baseurl | default:site.baseurl }}/{% t billetterie %}/"
},
"performer": [
{% for conference in site.talks %}
{% unless forloop.first %},{% endunless %}
{% for names in conference.speakers %}
{% assign speaker = site.data.speakers[names] %}
{% if speaker.display %}
{% unless forloop.first %},{% endunless %}
{
"@type": "Person",
"name": "{{ speaker.name }}",
"sameAs": "{{ speaker.url }}"
}
{% endif %}
{% endfor %}
{% endfor %}
]
}
</script>