diff --git a/_config_prod.yml b/_config_prod.yml index aaf108b2..082fb781 100644 --- a/_config_prod.yml +++ b/_config_prod.yml @@ -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: diff --git a/_includes/schema.html b/_includes/schema.html index 74dc38af..f381cdc9 100644 --- a/_includes/schema.html +++ b/_includes/schema.html @@ -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", @@ -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 }}",