Sha256: 314bbfbe8c423ebbd027ec0e567e32e01aea8f7fab8281af3bb7274328bbfc80
Contents?: true
Size: 1.63 KB
Versions: 1
Compression:
Stored size: 1.63 KB
Contents
<!-- meta-tags --> {% seo %} <!--Let browser know website is optimized for mobile--> {% feed_meta %} <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!--for fb --> <meta property="og:type" content="website" /> <link type="text/css" rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}" media="screen,projection"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="{{ '/assets/js/highlight.pack.js' | relative_url }}"></script> {% if jekyll.environment == 'production' and site.google_analytics %} {% include google-analytics.html %} {% endif %} <script> $(document).ready(function(){ $(function(){ // Check the initial Poistion of the Sticky Header var stickyHeaderTop = $('#mainSlider').offset().top; $(window).scroll(function(){ if( $(window).scrollTop() > stickyHeaderTop ) { $('#mainSlider').addClass("navbar-fixed"); $('#mainSlider').css("margin-top", "-70vh"); } else { $('#mainSlider').removeClass("navbar-fixed"); $('#mainSlider').css("margin-top", ""); } }); }); $('.mainSlider').each(function() { var $this = $(this); var $target = $('#' + $(this).attr('data-target')); $this.pushpin({ top: $target.offset().top, bottom: $target.offset().top + $target.outerHeight() - $this.height() }); }); }); </script>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jekyll-theme-anc-0.1.2 | _includes/head.html |