Skip to content

Commit

Permalink
Performers
Browse files Browse the repository at this point in the history
  • Loading branch information
Twikito committed Feb 19, 2018
1 parent e7b4511 commit 5e43341
Showing 1 changed file with 23 additions and 10 deletions.
33 changes: 23 additions & 10 deletions _includes/schema.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,15 @@
"contactType" : "customer service",
"contactOption": "TollFree"
},
"member": [{% for member in thym %}{% unless forloop.first == true %},{% endunless %}{
"@type": "Person",
"name": "{{ member.firstname }} {{ member.lastname }}",
"sameAs": "https://twitter.com/{{ member.twitter }}"
}{% endfor %}]
"member": [
{% for member in thym %}
{% unless forloop.first %},{% endunless %}
{
"@type": "Person",
"name": "{{ member.firstname }} {{ member.lastname }}",
"sameAs": "https://twitter.com/{{ member.twitter }}"
}
{% endfor %}]
},
"offers": {
"@type": "Offer",
Expand All @@ -50,10 +54,19 @@
"availability": "http://schema.org/InStock",
"url": "{{ site.url }}{{ page.baseurl | default:site.baseurl }}/{% t billetterie %}/"
},
"performer": [{% for speaker in site.data.speakers %}{% unless forloop.first == true %},{% endunless %}{
"@type": "Person",
"name": "{{ speaker.name }}",
"sameAs": "{{ speaker.url }}"
}{% endfor %}]
"performer": [
{% for conference in site.talks %}
{% unless forloop.first %},{% endunless %}
{% for names in conference.speaker %}
{% assign speaker = site.data.speakers[names] %}
{% unless forloop.first or forloop.last %},{% endunless %}
{
"@type": "Person",
"name": "{{ speaker.name }}",
"sameAs": "{{ speaker.url }}"
}
{% endfor %}
{% endfor %}
]
}
</script>

0 comments on commit 5e43341

Please sign in to comment.