Updated schema ld+json

This commit is contained in:
Oleh Zasadnyy 2014-08-19 16:37:19 +03:00
parent f393507c5c
commit ac4d92a3ee
13 changed files with 256 additions and 184 deletions

View file

@ -101,13 +101,19 @@
"addressRegion" : "{{ site.eventAddressLocalityRegion }}",
"postalCode" : "{{ site.eventPostalCode }}",
"addressCountry" : "{{ site.eventAddressCountry }}"
},
"geo" : {
"@type" : "GeoCoordinates",
{% assign coordinates = site.eventPlaceCoordinates | split:"," %}
"latitude" : "{{ coordinates[0] }}",
"longitude" : "{{ coordinates[1] }}"
}
},
"organizer" : {
"@type" : "Organization",
"name" : "{{ site.organizerName }}",
"alternateName" : "{{ site.organizerAlternateName }}",
"description" : "{{ site.organizerDescription }}"
"description" : "{{ site.organizerDescription }}",
"logo" : "{{ site.organizerLogo | prepend: site.baseurl | prepend: site.url }}",
"email" : "{{ site.organizerEmail }}",
"sameAs" : "{{ site.organizerLink }}"
@ -134,7 +140,7 @@
"worksFor" : {
"@type" : "Organization",
"name" : "{{ speaker.company }}"
}
},
"sameAs" : "{{ speaker.social[0].link }}"
}{% if forloop.index != forloop.length %},{% endif %}
{% endfor %}