datamad2017/_layouts/index.html

154 lines
6.5 KiB
HTML
Raw Normal View History

2014-07-28 21:27:01 +02:00
<!DOCTYPE html>
<html lang="en" itemscope itemtype="http://schema.org/Blog">
{% include head.html %}
<body>
<div id="preloader" class="preloader">
2014-07-28 21:27:01 +02:00
<div class="loader-gplus"></div>
</div>
<div id="st-container" class="st-container">
<div class="st-pusher">
<div class="st-content">
{{ content }}
{% include footer.html %}
</div>
</div>
</div>
{% include analytics.html %}
<script src="//code.jquery.com/jquery-2.1.1.min.js"></script>
<!-- jQuery local fallback -->
<script>
window.jQuery || document.write('<script src="{{ "/js/jquery-2.1.1.min.js " | prepend: site.baseurl }}><\/script>')
</script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<!-- Bootstrap JS local fallback -->
<script>
if (typeof ($.fn.modal) === 'undefined') {
document.write('<script src="{{ "/js/bootstrap.min.js " | prepend: site.baseurl }}><\/script>')
}
</script>
<script src="{{ "/js/jquery.countTo.min.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/js/jquery.appear.min.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/js/typed.min.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/js/waves.min.js" | prepend: site.baseurl }}"></script>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
<script>
//Location properties
var googleMaps = 'index';
var eventPlace = new google.maps.LatLng({{site.eventPlaceCoordinates}});
var centerMap = new google.maps.LatLng({{site.mapCenterCoordinates}});
var mobileCenterMap = new google.maps.LatLng({{site.mapMobileCenterCoordinates}});
var icon = '{{ site.baseurl }}/img/svg/map-marker.svg';
//Twitter
var twitterFeedUrl = '{{ site.twitterFeed }}';
$(document).ready(function () {
2014-08-14 23:27:17 +02:00
Waves.displayEffect();
2014-07-28 21:27:01 +02:00
$(function () {
$("#typeout-text").typed({
strings: [{{site.typeoutTextValues}}],
typeSpeed: 150,
backDelay: 900,
loop: true
});
});
//Rockstar speakers
var rockstarSpeakers = [
{% for speaker in site.data.speakers %}
{% if speaker.rockstar %}
{name: "{{ speaker.name }} {{ speaker.surname }}", company: "{{ speaker.company }}", image: "{{ site.baseurl | append: site.thumbnailsFolder | append: speaker.thumbnailUrl }}"}{% if forloop.index != forloop.length %},{% endif %}
{% endif %}
{% endfor %}
];
rockstarSpeakers.sort(function() {return 0.5 - Math.random()});
if(rockstarSpeakers.length > 0) {
var animationDelay = 1500,
count = {{ site.rockstarSpeakersCount }},
colWidth = 12/count;
for(i=0; i<count; i++) {
$('#rockstar-speaker-title').after('<div class="col-md-'+ colWidth +' col-xs-6 rockstar-speakers-item animated hiding" data-animation="fadeInUp" data-delay="' + animationDelay +'"><div class="rockstar-speaker"><div class="flow-img img-circle rockstar-speaker-img" style="background-image: url(' + rockstarSpeakers[i].image + ')"></div><div class="name">' + rockstarSpeakers[i].name + '</div><div class="sub">' + rockstarSpeakers[i].company + '</div></div></div>');
animationDelay -= 500;
}
}
2014-07-28 21:27:01 +02:00
});
</script>
<script src="{{ "/js/scripts.min.js " | prepend: site.baseurl }}"></script>
<script type="application/ld+json">
[{
"@context" : "http://schema.org",
"@type" : "Event",
"name" : "{{ site.title }}",
"description": "{{ site.description }}",
"image" : "{{ site.socialImageSrcGooglePlus | prepend: site.baseurl | prepend: site.url }}",
"url" : "{{ site.url }}",
"startDate" : "{{ site.eventStartTime }}",
"doorTime" : "{{ site.eventDoorTime }}",
"endDate" : "{{ site.eventEndTime }}",
"location" : {
"@type" : "Place",
"name" : "{{ site.eventLocationName }}",
"sameAs" : "{{ site.eventLocationLink }}",
"address" : {
"@type" : "PostalAddress",
"streetAddress" : "{{ site.eventStreetAddress }}",
"addressLocality" : "{{ site.eventAddressLocality }}",
"addressRegion" : "{{ site.eventAddressLocalityRegion }}",
"postalCode" : "{{ site.eventPostalCode }}",
"addressCountry" : "{{ site.eventAddressCountry }}"
2014-08-19 15:37:19 +02:00
},
"geo" : {
"@type" : "GeoCoordinates",
{% assign coordinates = site.eventPlaceCoordinates | split:"," %}
"latitude" : "{{ coordinates[0] }}",
"longitude" : "{{ coordinates[1] }}"
}
},
"organizer" : {
"@type" : "Organization",
"name" : "{{ site.organizerName }}",
"alternateName" : "{{ site.organizerAlternateName }}",
2014-08-19 15:37:19 +02:00
"description" : "{{ site.organizerDescription }}",
"logo" : "{{ site.organizerLogo | prepend: site.baseurl | prepend: site.url }}",
"email" : "{{ site.organizerEmail }}",
"sameAs" : "{{ site.organizerLink }}"
},
"offers" : [
{% for ticketsOffer in site.ticketsOffers %}
{
"@type" : "Offer",
"name" : "{{ ticketsOffer.name }}",
"url" : "{{ ticketsOffer.buyButtonLink }}",
"price" : "{{ ticketsOffer.price }}",
"validFrom" : "{{ ticketsOffer.validFrom }}",
"validThrough" : "{{ ticketsOffer.validThrough }}"
}{% if forloop.index != forloop.length %},{% endif %}
{% endfor %}
],
"performer" : [
{% for speaker in site.data.speakers %}
{
"@type" : "Person",
"name" : "{{ speaker.name }} {{ speaker.surname }}",
"image" : "{{ speaker.thumbnailUrl | prepend: site.thumbnailsFolder | prepend: site.baseurl | prepend: site.url }}",
"jobTitle" : "{{ speaker.title }}",
"worksFor" : {
"@type" : "Organization",
"name" : "{{ speaker.company }}"
2014-08-19 15:37:19 +02:00
},
"sameAs" : "{{ speaker.social[0].link }}"
}{% if forloop.index != forloop.length %},{% endif %}
{% endfor %}
],
"eventStatus" : "EventScheduled",
"typicalAgeRange" : "16+"
}]
</script>
2014-07-28 21:27:01 +02:00
</body>
</html>