datamad2017/_layouts/default.html
2014-08-15 17:02:40 +03:00

62 lines
2.1 KiB
HTML

<!DOCTYPE html>
<html lang="en" itemscope itemtype="http://schema.org/Blog">
{% include head.html %}
<body>
<div id="preloader" class="preloader">
<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>
{% if page.modal != null %}
{% include speakers-modals.html %}
{% endif %}
{% if page.permalink == '/schedule/' %}
{% include sessions-modals.html %}
{% endif %}
{% 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.appear.min.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/js/waves.min.js" | prepend: site.baseurl }}"></script>
<script>Waves.displayEffect();</script>
<script src="{{ "/js/scripts.js" | prepend: site.baseurl }}"></script>
{% if page.permalink == '/schedule/' %}
<script src="{{ "/js/jquery.sticky-kit.min.js" | prepend: site.baseurl }}"></script>
<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>
{% endif %}
</body>
</html>