2014-11-14 17:56:12 +01:00
|
|
|
---
|
|
|
|
layout: compress
|
|
|
|
---
|
|
|
|
|
2014-07-28 21:27:01 +02:00
|
|
|
<!DOCTYPE html>
|
2014-08-21 16:27:02 +02:00
|
|
|
<html lang="en">
|
2014-07-28 21:27:01 +02:00
|
|
|
|
|
|
|
{% include head.html %}
|
|
|
|
|
|
|
|
<body>
|
2014-08-25 11:42:51 +02:00
|
|
|
<div id="st-container" class="st-container disable-scrolling">
|
2014-07-28 21:27:01 +02:00
|
|
|
<div class="st-pusher">
|
|
|
|
<div class="st-content">
|
|
|
|
|
|
|
|
{{ content }}
|
|
|
|
|
|
|
|
{% include footer.html %}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% if page.modal != null %}
|
|
|
|
{% include speakers-modals.html %}
|
|
|
|
{% endif %}
|
|
|
|
|
2014-08-14 23:27:17 +02:00
|
|
|
{% if page.permalink == '/schedule/' %}
|
2014-08-15 16:02:40 +02:00
|
|
|
{% include sessions-modals.html %}
|
2014-08-14 23:27:17 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2014-07-28 21:27:01 +02:00
|
|
|
{% include analytics.html %}
|
|
|
|
|
2014-08-22 00:01:20 +02:00
|
|
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
2014-07-28 21:27:01 +02:00
|
|
|
<script>
|
2014-08-14 23:27:17 +02:00
|
|
|
window.jQuery || document.write('<script src="{{ "/js/jquery-2.1.1.min.js" | prepend: site.baseurl }}><\/script>')
|
2014-07-28 21:27:01 +02:00
|
|
|
</script>
|
|
|
|
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
|
|
|
|
<script>
|
|
|
|
if (typeof($.fn.modal) === 'undefined') {
|
|
|
|
document.write('<script src="{{ "/js/bootstrap.min.js" | prepend: site.baseurl }}><\/script>')
|
|
|
|
}
|
|
|
|
</script>
|
2014-08-22 00:01:20 +02:00
|
|
|
<script src="{{ "/js/default.js" | prepend: site.baseurl }}"></script>
|
2014-08-27 23:49:51 +02:00
|
|
|
{% if page.permalink == '/' or page.permalink == '/hackathon/' %}
|
2014-08-31 20:52:35 +02:00
|
|
|
<script>
|
|
|
|
if ($(window).width() > 767) {
|
|
|
|
document.write('<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"><\/script>')
|
|
|
|
}
|
|
|
|
</script>
|
2014-08-22 00:01:20 +02:00
|
|
|
{% elsif page.permalink == '/logistics/' %}
|
|
|
|
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=places,geometry"></script>
|
2015-02-19 23:10:06 +01:00
|
|
|
<script type="text/javascript">
|
|
|
|
var autoDirectionEnabled = {% if site.logisticsMapAutoDirections %} true {% else %} false {% endif %};
|
|
|
|
</script>
|
2014-08-22 00:01:20 +02:00
|
|
|
{% endif %}
|
|
|
|
<script>
|
|
|
|
Waves.displayEffect();
|
2014-08-28 17:50:12 +02:00
|
|
|
{% if page.permalink == '/' %}
|
2014-08-31 20:52:35 +02:00
|
|
|
if ($(window).width() > 767) {
|
2014-09-01 12:49:06 +02:00
|
|
|
var googleMaps = 'index',
|
|
|
|
eventPlace = new google.maps.LatLng({{ site.eventPlaceCoordinates | replace:' ','' }}),
|
|
|
|
centerMap = new google.maps.LatLng({{ site.mapCenterCoordinates | replace:' ','' }}),
|
|
|
|
mobileCenterMap = new google.maps.LatLng({{ site.mapMobileCenterCoordinates | replace:' ','' }}),
|
|
|
|
icon = '{{ site.baseurl }}/img/other/map-marker.svg';
|
2014-08-31 20:52:35 +02:00
|
|
|
} else {
|
2014-09-01 12:49:06 +02:00
|
|
|
var staticGoogleMaps = true,
|
|
|
|
eventPlaceCoordinates = '{{ site.eventPlaceCoordinates | replace:' ','' }}',
|
|
|
|
centerMapCoordinates = '{{ site.mapCenterCoordinates | replace:' ','' }}',
|
|
|
|
mobileCenterMapCoordinates = '{{ site.mapMobileCenterCoordinates | replace:' ','' }}',
|
|
|
|
icon = '{{ site.baseurl | prepend: site.url }}/img/other/map-marker.png';
|
2014-08-31 20:52:35 +02:00
|
|
|
}
|
2014-08-22 00:01:20 +02:00
|
|
|
var twitterFeedUrl = '{{ site.twitterFeed }}';
|
|
|
|
$(document).ready(function () {
|
|
|
|
$(function () {
|
2014-08-25 11:42:51 +02:00
|
|
|
if ($(window).width() > 767) {
|
|
|
|
$("#typeout-text").typed({
|
|
|
|
strings: [{{site.typeoutTextValues}}],
|
|
|
|
typeSpeed: 150,
|
|
|
|
backDelay: 900,
|
|
|
|
loop: true
|
|
|
|
});
|
|
|
|
}
|
2014-08-22 00:01:20 +02:00
|
|
|
});
|
|
|
|
var rockstarSpeakers = [
|
|
|
|
{% for speaker in site.data.speakers %}
|
|
|
|
{% if speaker.rockstar %}
|
2014-08-29 16:57:46 +02:00
|
|
|
{name: "{{ speaker.name }} {{ speaker.surname }}", company: "{{ speaker.company }}", image: "{{ site.baseurl | append: '/img/people/' | append: speaker.thumbnailUrl }}"}{% if forloop.index != forloop.length %},{% endif %}
|
2014-08-22 00:01:20 +02:00
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
];
|
|
|
|
rockstarSpeakers.sort(function() {return 0.5 - Math.random()});
|
|
|
|
if(rockstarSpeakers.length > 0) {
|
|
|
|
var animationDelay = 1500,
|
2015-02-23 15:09:51 +01:00
|
|
|
count = Math.min({{ site.rockstarSpeakersCount }}, rockstarSpeakers.length),
|
2014-08-22 00:01:20 +02:00
|
|
|
colWidth = 12/count;
|
|
|
|
for(i=0; i<count; i++) {
|
2014-08-31 20:52:35 +02:00
|
|
|
var clearfix = '<div class="clearfix visible-xs"></div>';
|
|
|
|
if ((i)%2 != 0) {
|
|
|
|
clearfix = ""
|
|
|
|
}
|
|
|
|
$('#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>' + clearfix);
|
2014-08-22 00:01:20 +02:00
|
|
|
animationDelay -= 500;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
{% elsif page.permalink == '/logistics/' %}
|
|
|
|
var googleMaps = 'logistics',
|
|
|
|
eventPlace = new google.maps.LatLng({{ site.eventPlaceCoordinates }}),
|
|
|
|
centerMap = new google.maps.LatLng({{ site.logisticsMapCenterCoordinates }}),
|
|
|
|
mobileCenterMap = new google.maps.LatLng({{ site.logisticsMapMobileCenterCoordinates }}),
|
2014-08-29 16:57:46 +02:00
|
|
|
icon = '{{ site.baseurl }}/img/other/map-marker.svg';
|
2014-08-28 17:50:12 +02:00
|
|
|
{% elsif page.permalink == '/hackathon/' %}
|
2014-09-01 12:49:06 +02:00
|
|
|
if ($(window).width() > 767) {
|
|
|
|
var googleMaps = 'hackathon',
|
|
|
|
eventPlace = new google.maps.LatLng({{ site.hackathonPlaceCoordinates }}),
|
|
|
|
centerMap = new google.maps.LatLng({{ site.hackathonMapCenterCoordinates }}),
|
|
|
|
mobileCenterMap = new google.maps.LatLng({{ site.hackathonMapMobileCenterCoordinates }}),
|
|
|
|
icon = '{{ site.baseurl }}/img/other/map-marker.svg';
|
|
|
|
} else {
|
|
|
|
var staticGoogleMaps = true,
|
|
|
|
eventPlaceCoordinates = '{{ site.hackathonPlaceCoordinates | replace:' ','' }}',
|
|
|
|
centerMapCoordinates = '{{ site.hackathonMapCenterCoordinates | replace:' ','' }}',
|
|
|
|
mobileCenterMapCoordinates = '{{ site.hackathonMapMobileCenterCoordinates | replace:' ','' }}',
|
|
|
|
icon = '{{ site.baseurl | prepend: site.url }}/img/other/map-marker.png';
|
|
|
|
}
|
|
|
|
|
2014-08-22 00:01:20 +02:00
|
|
|
{% endif %}
|
|
|
|
</script>
|
2014-09-01 12:49:06 +02:00
|
|
|
<script src="{{ "/js/scripts.min.js" | prepend: site.baseurl }}"></script>
|
2014-08-14 23:27:17 +02:00
|
|
|
{% if page.permalink == '/schedule/' %}
|
2014-08-22 00:01:20 +02:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function () {
|
|
|
|
var navHeight = $('#top-header').height();
|
|
|
|
var headerHeight = $('.track-header').first().height();
|
|
|
|
$('.stick-header').stick_in_parent({sticky_class: 'sticky', offset_top: navHeight});
|
|
|
|
$('.stick-label').stick_in_parent({offset_top: navHeight + headerHeight});
|
|
|
|
});
|
|
|
|
</script>
|
2014-08-14 23:27:17 +02:00
|
|
|
{% endif %}
|
2014-08-22 00:01:20 +02:00
|
|
|
|
|
|
|
{% include schema-event.html %}
|
2014-07-28 21:27:01 +02:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|