diff options
Diffstat (limited to 'layouts/partials/footer.html')
| -rw-r--r-- | layouts/partials/footer.html | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..1eb3f85 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,61 @@ +<!-- Footer --> +<footer id="footer"> + <div class="container"> + <div class="row"> + <div class="col-md-6 col-md-offset-3 text-center"> + <ul class="list-inline"> + <li><a href="http://twitter.com/spf13" class="icon-twitter icon-2x"></a></li> + <li><a href="http://github.com/spf13/hugo" class="icon-octocat icon-2x"></a></li> + </ul> + <hr> + <p>Copyright © Steve Francia 2013–2014</p> + </div> + </div> + </div> +</footer> +<!-- /Footer --> + +<!-- Bootstrap core JavaScript --> +<!-- Placed at the end of the document so the pages load faster --> +<script src="/js/jquery-2.1.1.min.js"></script> +<script src="/js/owl.carousel.min.js"></script> +<!--<script src="/js/bootstrap.min.js"></script>--> +<script> +$(function() { +$('a[href*=#]:not([href=#])').click(function() { + if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') + || location.hostname == this.hostname) { + + var target = $(this.hash); + target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); + if (target.length) { + $('html,body').animate({ + scrollTop: target.offset().top + }, 1000); + return false; + } + } +}); +}); +$('.owl-carousel').owlCarousel({ +loop:true, +margin:10, +nav:true, +autoplay:true, +autoplayHoverPause:true, +autoplayTimeout:3000, +responsive:{ + 0:{ + items:1 + }, + 1000:{ + items:3 + }, +} +}) +</script> + +{{ partial "analytics.html" . }} +</body> + +</html> |
