Skip to content

Commit

Permalink
Fix JSON-LD
Browse files Browse the repository at this point in the history
  • Loading branch information
borisschapira committed Jun 26, 2018
1 parent 997b07f commit c6da66f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion _config_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ lazyload:
tickets:
selling: false
waiting-list: false
price: "200€"
price: "200"
price_currency: "EUR"

# Compression du code HTML en production
compress_html:
Expand Down
4 changes: 2 additions & 2 deletions _includes/schema.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"offers": {
"@type": "Offer",
"price": "{{ site.tickets.price }}",
"priceCurrency": "EUR",
"priceCurrency": "{{ site.tickets.price_currency }}",
"validFrom": "2018-01-22T00:00",
"validThrough": "2018-05-25T09:00",
"availability": "http://schema.org/InStock",
Expand All @@ -62,7 +62,7 @@
{% unless forloop.first %},{% endunless %}
{% for names in conference.speakers %}
{% assign speaker = site.data.speakers[names] %}
{% unless forloop.first or forloop.last %},{% endunless %}
{% unless forloop.first %},{% endunless %}
{
"@type": "Person",
"name": "{{ speaker.name }}",
Expand Down

0 comments on commit c6da66f

Please sign in to comment.