2017-03-10 22:59:27 -08:00
|
|
|
<!-- CDNs -->
|
|
|
|
<!-- jQuery -->
|
2017-03-04 08:12:31 -08:00
|
|
|
<script src="https://cdn.jsdelivr.net/jquery/3.1.1/jquery.min.js"></script>
|
|
|
|
<!-- light gallery and modules/plugins -->
|
|
|
|
<script src="https://cdn.jsdelivr.net/g/lightgallery,lg-autoplay,lg-pager,lg-thumbnail,lg-video"></script>
|
2017-04-07 01:40:29 -07:00
|
|
|
<!-- scrollbar -->
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.perfect-scrollbar/0.6.16/js/perfect-scrollbar.jquery.min.js"></script>
|
2017-04-03 11:39:23 -07:00
|
|
|
<!-- highlights -->
|
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.10.0/highlight.min.js"></script>
|
2017-02-28 09:56:46 -08:00
|
|
|
|
2017-03-10 22:59:27 -08:00
|
|
|
<!-- LOCAL -->
|
2017-04-11 20:08:03 -07:00
|
|
|
<script src="/js/util.js"></script>
|
2017-03-12 11:05:18 -07:00
|
|
|
<!-- sizing tools -->
|
2017-04-11 14:37:42 -07:00
|
|
|
<script src="/js/fitToWindow.js"></script>
|
2017-03-28 16:59:10 -07:00
|
|
|
<script src="/js/flowType.js"></script>
|
2017-04-10 15:15:14 -07:00
|
|
|
<!-- videos embed -->
|
|
|
|
<script src="/js/youtube.js"></script>
|
2017-03-04 20:02:56 -08:00
|
|
|
<!-- development tools -->
|
2017-03-28 16:59:10 -07:00
|
|
|
<script src="/js/lorem.js"></script>
|
2017-03-21 08:32:26 -07:00
|
|
|
{{ if isset .Site.Params "googleAnalytics" }}
|
2017-03-28 16:59:10 -07:00
|
|
|
<script src="/js/analytics.js"></script>
|
2017-03-21 08:32:26 -07:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<!-- site specific functions for page use -->
|
2017-03-28 16:59:10 -07:00
|
|
|
<script src="/js/page.js"></script>
|
2017-03-04 20:02:56 -08:00
|
|
|
|
2017-03-21 08:32:26 -07:00
|
|
|
<!-- Document Ready - Initialize - Window resize calls -->
|
2017-03-28 16:59:10 -07:00
|
|
|
<script src="/js/docready.js"></script>
|
2017-04-01 19:59:26 -07:00
|
|
|
|
|
|
|
<!-- Custom/Override js files -->
|
|
|
|
{{ range .Site.Params.custom_js }}
|
|
|
|
<script src="/js/{{ . }}"></script>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<!-- Initialize Photo Galleries with a Lightbox -->
|
|
|
|
{{ if .Site.Params.galleries }}
|
|
|
|
<script>
|
|
|
|
$(document).ready(function () {
|
|
|
|
{{ range.Site.Params.galleries }}
|
|
|
|
{{ $.Site.Params.lightbox | safeJS }}('#{{ . }}'){{ end }}
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
{{ end }}
|
2017-04-18 22:12:41 -07:00
|
|
|
|
|
|
|
<!-- use same lightbox for full sized images in when link="modal" -->
|
|
|
|
<script>
|
|
|
|
$(document).ready(function () {
|
|
|
|
{{ $.Site.Params.lightbox | safeJS }}('.box--image')
|
|
|
|
});
|
|
|
|
</script>
|