|
30 | 30 |
|
31 | 31 | {% include analytics.html %}
|
32 | 32 |
|
33 |
| - <script src="//code.jquery.com/jquery-2.1.1.min.js"></script> |
34 |
| - <!-- jQuery local fallback --> |
| 33 | + <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> |
35 | 34 | <script>
|
36 | 35 | window.jQuery || document.write('<script src="{{ "/js/jquery-2.1.1.min.js" | prepend: site.baseurl }}><\/script>')
|
37 | 36 | </script>
|
38 | 37 | <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
|
39 |
| - <!-- Bootstrap JS local fallback --> |
40 | 38 | <script>
|
41 | 39 | if (typeof($.fn.modal) === 'undefined') {
|
42 | 40 | document.write('<script src="{{ "/js/bootstrap.min.js" | prepend: site.baseurl }}><\/script>')
|
43 | 41 | }
|
44 | 42 | </script>
|
45 |
| - <script src="{{ "/js/jquery.appear.min.js" | prepend: site.baseurl }}"></script> |
46 |
| - <script src="{{ "/js/waves.min.js" | prepend: site.baseurl }}"></script> |
47 |
| - <script>Waves.displayEffect();</script> |
| 43 | + <script src="{{ "/js/default.js" | prepend: site.baseurl }}"></script> |
| 44 | + {% if page.permalink == '/' %} |
| 45 | + <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script> |
| 46 | + {% elsif page.permalink == '/logistics/' %} |
| 47 | + <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=places,geometry"></script> |
| 48 | + {% endif %} |
| 49 | + <script> |
| 50 | + Waves.displayEffect(); |
| 51 | + {% if page.permalink == '/' %} |
| 52 | + var googleMaps = 'index', |
| 53 | + eventPlace = new google.maps.LatLng({{ site.eventPlaceCoordinates }}), |
| 54 | + centerMap = new google.maps.LatLng({{ site.mapCenterCoordinates }}), |
| 55 | + mobileCenterMap = new google.maps.LatLng({{ site.mapMobileCenterCoordinates }}), |
| 56 | + icon = '{{ site.baseurl }}/img/svg/map-marker.svg'; |
| 57 | + var twitterFeedUrl = '{{ site.twitterFeed }}'; |
| 58 | + $(document).ready(function () { |
| 59 | + $(function () { |
| 60 | + $("#typeout-text").typed({ |
| 61 | + strings: [{{site.typeoutTextValues}}], |
| 62 | + typeSpeed: 150, |
| 63 | + backDelay: 900, |
| 64 | + loop: true |
| 65 | + }); |
| 66 | + }); |
| 67 | + var rockstarSpeakers = [ |
| 68 | + {% for speaker in site.data.speakers %} |
| 69 | + {% if speaker.rockstar %} |
| 70 | + {name: "{{ speaker.name }} {{ speaker.surname }}", company: "{{ speaker.company }}", image: "{{ site.baseurl | append: site.thumbnailsFolder | append: speaker.thumbnailUrl }}"}{% if forloop.index != forloop.length %},{% endif %} |
| 71 | + {% endif %} |
| 72 | + {% endfor %} |
| 73 | + ]; |
| 74 | + rockstarSpeakers.sort(function() {return 0.5 - Math.random()}); |
| 75 | + if(rockstarSpeakers.length > 0) { |
| 76 | + var animationDelay = 1500, |
| 77 | + count = {{ site.rockstarSpeakersCount }}, |
| 78 | + colWidth = 12/count; |
| 79 | + for(i=0; i<count; i++) { |
| 80 | + $('#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>'); |
| 81 | + animationDelay -= 500; |
| 82 | + } |
| 83 | + } |
| 84 | + }); |
| 85 | + {% elsif page.permalink == '/logistics/' %} |
| 86 | + var googleMaps = 'logistics', |
| 87 | + eventPlace = new google.maps.LatLng({{ site.eventPlaceCoordinates }}), |
| 88 | + centerMap = new google.maps.LatLng({{ site.logisticsMapCenterCoordinates }}), |
| 89 | + mobileCenterMap = new google.maps.LatLng({{ site.logisticsMapMobileCenterCoordinates }}), |
| 90 | + icon = '{{ site.baseurl }}/img/svg/map-marker.svg'; |
| 91 | + {% endif %} |
| 92 | + </script> |
48 | 93 | <script src="{{ "/js/scripts.min.js" | prepend: site.baseurl }}"></script>
|
49 | 94 | {% if page.permalink == '/schedule/' %}
|
50 |
| - <script src="{{ "/js/jquery.sticky-kit.min.js" | prepend: site.baseurl }}"></script> |
51 |
| - <script type="text/javascript"> |
52 |
| - $(document).ready(function () { |
53 |
| - var navHeight = $('#top-header').height(); |
54 |
| - var headerHeight = $('.track-header').first().height(); |
55 |
| - $('.stick-header').stick_in_parent({sticky_class: 'sticky', offset_top: navHeight}); |
56 |
| - $('.stick-label').stick_in_parent({offset_top: navHeight + headerHeight}); |
57 |
| - }); |
58 |
| - </script> |
| 95 | + <script type="text/javascript"> |
| 96 | + $(document).ready(function () { |
| 97 | + var navHeight = $('#top-header').height(); |
| 98 | + var headerHeight = $('.track-header').first().height(); |
| 99 | + $('.stick-header').stick_in_parent({sticky_class: 'sticky', offset_top: navHeight}); |
| 100 | + $('.stick-label').stick_in_parent({offset_top: navHeight + headerHeight}); |
| 101 | + }); |
| 102 | + </script> |
59 | 103 | {% endif %}
|
60 |
| - <script type="application/ld+json"> |
61 |
| - [{ |
62 |
| - "@context" : "http://schema.org", |
63 |
| - "@type" : "Event", |
64 |
| - "name" : "{{ site.title }}", |
65 |
| - "description": "{{ site.description }}", |
66 |
| - "image" : "{{ site.socialImageSrcGooglePlus | prepend: site.baseurl | prepend: site.url }}", |
67 |
| - "url" : "{{ site.url }}", |
68 |
| - "startDate" : "{{ site.eventStartTime }}", |
69 |
| - "doorTime" : "{{ site.eventDoorTime }}", |
70 |
| - "endDate" : "{{ site.eventEndTime }}", |
71 |
| - "location" : { |
72 |
| - "@type" : "Place", |
73 |
| - "name" : "{{ site.eventLocationName }}", |
74 |
| - "sameAs" : "{{ site.eventLocationLink }}", |
75 |
| - "address" : { |
76 |
| - "@type" : "PostalAddress", |
77 |
| - "streetAddress" : "{{ site.eventStreetAddress }}", |
78 |
| - "addressLocality" : "{{ site.eventAddressLocality }}", |
79 |
| - "addressRegion" : "{{ site.eventAddressLocalityRegion }}", |
80 |
| - "postalCode" : "{{ site.eventPostalCode }}", |
81 |
| - "addressCountry" : "{{ site.eventAddressCountry }}" |
82 |
| - }, |
83 |
| - "geo" : { |
84 |
| - "@type" : "GeoCoordinates", |
85 |
| - {% assign coordinates = site.eventPlaceCoordinates | split:"," %} |
86 |
| - "latitude" : "{{ coordinates[0] }}", |
87 |
| - "longitude" : "{{ coordinates[1] }}" |
88 |
| - } |
89 |
| - }, |
90 |
| - "organizer" : { |
91 |
| - "@type" : "Organization", |
92 |
| - "name" : "{{ site.organizerName }}", |
93 |
| - "alternateName" : "{{ site.organizerAlternateName }}", |
94 |
| - "description" : "{{ site.organizerDescription }}", |
95 |
| - "logo" : "{{ site.organizerLogo | prepend: site.baseurl | prepend: site.url }}", |
96 |
| - "email" : "{{ site.organizerEmail }}", |
97 |
| - "sameAs" : "{{ site.organizerLink }}" |
98 |
| - }, |
99 |
| - "offers" : [ |
100 |
| - {% for ticketsOffer in site.ticketsOffers %} |
101 |
| - { |
102 |
| - "@type" : "Offer", |
103 |
| - "name" : "{{ ticketsOffer.name }}", |
104 |
| - "url" : "{{ ticketsOffer.buyButtonLink }}", |
105 |
| - "price" : "{{ ticketsOffer.price }}", |
106 |
| - "validFrom" : "{{ ticketsOffer.validFrom }}", |
107 |
| - "validThrough" : "{{ ticketsOffer.validThrough }}" |
108 |
| - }{% if forloop.index != forloop.length %},{% endif %} |
109 |
| - {% endfor %} |
110 |
| - ], |
111 |
| - "performer" : [ |
112 |
| - {% for speaker in site.data.speakers %} |
113 |
| - { |
114 |
| - "@type" : "Person", |
115 |
| - "name" : "{{ speaker.name }} {{ speaker.surname }}", |
116 |
| - "image" : "{{ speaker.thumbnailUrl | prepend: site.thumbnailsFolder | prepend: site.baseurl | prepend: site.url }}", |
117 |
| - "jobTitle" : "{{ speaker.title }}", |
118 |
| - "worksFor" : { |
119 |
| - "@type" : "Organization", |
120 |
| - "name" : "{{ speaker.company }}" |
121 |
| - }, |
122 |
| - "sameAs" : "{{ speaker.social[0].link }}" |
123 |
| - }{% if forloop.index != forloop.length %},{% endif %} |
124 |
| - {% endfor %} |
125 |
| - ], |
126 |
| - "eventStatus" : "EventScheduled", |
127 |
| - "typicalAgeRange" : "16+" |
128 |
| - }] |
129 |
| - </script> |
| 104 | + |
| 105 | + {% include schema-event.html %} |
130 | 106 | </body>
|
131 | 107 |
|
132 | 108 | </html>
|
0 commit comments