Fixed ribbon url in session-modals, added webmaster tools verification, view-on-map bug fix, sold out tickets label, fixed schema.org speaker's image url

This commit is contained in:
Oleh Zasadnyy 2014-09-29 18:25:11 +03:00
parent 6c0eda3d3e
commit 488f83f50d
11 changed files with 40 additions and 5 deletions

View file

@ -43,6 +43,7 @@
<a id="find-flight" href="https://google.com/flights" class="pull-right hidden" target="_blank">{{ site.findWayFindFlight }}</a>
</li>
</ul>
<div class="clearfix"></div>
<a href="http://maps.google.com/maps?ll={{ site.eventPlaceCoordinates | replace:' ',''}}&z=17&t=m&hl=en-US&gl=US&mapclient=embed&q={{ site.eventStreetAddress | replace:' ','%20' | replace:',','%2C'}}%2C%20{{ site.eventAddressLocality | replace:' ','%20' | replace:',','%2C'}}" class="view-on-map" target="_blank">{{ site.viewOnMap }}</a>
</div>
</div>

View file

@ -6,6 +6,7 @@
<meta name="author" content="Oleh Zasadnyy, GDG Lviv">
<meta name="description" content="{{ site.description }}">
<meta name="keywords" content="{{ site.metaKeywords }}">
<meta name="google-site-verification" content="{{ site.siteVerification }}" />
<link rel="canonical" href="{{ site.url }}">
<!-- Social: Twitter -->
<meta name="twitter:card" content="summary">

View file

@ -85,7 +85,7 @@
{
"@type" : "Person",
"name" : "{{ speaker.name }} {{ speaker.surname }}",
"image" : "{{ speaker.thumbnailUrl | prepend: site.thumbnailsFolder | prepend: site.baseurl | prepend: site.url }}",
"image" : "{{ site.url | append: site.baseurl | append: '/img/people/' | append: speaker.thumbnailUrl }}",
"jobTitle" : "{{ speaker.title }}",
"worksFor" : {
"@type" : "Organization",

View file

@ -31,7 +31,7 @@
{% if speaker.ribbon != null %}
<div class="modal-ribbon-wrapper">
{% for ribbon in speaker.ribbon %}
<a class="modal-ribbon" href="ribbon["url"]" target="_blank">{{ ribbon["title"] }}</a>
<a class="modal-ribbon" href="{{ ribbon["url"] }}" target="_blank">{{ ribbon["title"] }}</a>
{% endfor %}
</div>
{% endif %}

View file

@ -22,7 +22,9 @@
<p class="price">{{ ticketsOffer.price }} {{ ticketsOffer.priceCurrency }}</p>
</div>
<div class="col-sm-3 col-xs-12">
{% if ticketsOffer.disabled != true %}
{% if ticketsOffer.soldOut == true %}
<p class="ticket-sold-out">{{ ticketsOffer.soldOutText }}</p>
{% elsif ticketsOffer.disabled != true %}
<span class="bordered dark-border button">
<a href="{{ ticketsOffer.buyButtonLink }}" class="waves-effect waves-button" target="_blank">{{ ticketsOffer.buyButtonText }}</a>
</span>

View file

@ -18,7 +18,14 @@
<li>{{ listItem }}</li>
{% endfor %}
</ul>
{% if ticketsOffer.soldOut == true %}
<span class="button disabled">{{ ticketsOffer.soldOutText }}</span>
{% elsif ticketsOffer.disabled != true %}
<a class="button" href="{{ ticketsOffer.buyButtonLink }}" target="_blank">{{ ticketsOffer.buyButtonText }}</a>
{% else %}
{% assign ticketValidFrom = ticketsOffer.validFrom | split: "T" %}
<span class="button disabled fallback">Ticket sales will begin on {{ ticketValidFrom[0] | date: "%-d %B %Y"}} {{ ticketValidFrom[1] }}</span>
{% endif %}
</div>
</div>
{% endfor %}