diff options
author | Derek Severin <severinderek@gmail.com> | 2019-02-10 07:43:39 +0300 |
---|---|---|
committer | Derek Severin <severinderek@gmail.com> | 2019-02-10 07:43:39 +0300 |
commit | ae37e19238d9332add3681d5de13bc70151008a7 (patch) | |
tree | 878ef4603467b20dadbeb0476e88080f336b9e1d /layouts/partials/tail.html | |
parent | d25f12ef11143936246efe7c5b1b600ee34773b9 (diff) |
Added image gallery - modified from 'liwenyip' hugo-easy-gallery
Diffstat (limited to 'layouts/partials/tail.html')
-rw-r--r-- | layouts/partials/tail.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/partials/tail.html b/layouts/partials/tail.html index ac0526b..ed6fbd7 100644 --- a/layouts/partials/tail.html +++ b/layouts/partials/tail.html @@ -1,5 +1,15 @@ {{ "<!-- TAIL.HTML -->" | safeHTML }} +<!-- <script src="{{ "plugins/jquery/jquery.js" | absURL }}"></script> +--> +<script src="{{ "plugins/jquery/jquery.js" | absURL }}"></script> +<!-- Load PhotoSwipe js if the load-photoswipe shortcode has been used --> +{{ if ($.Scratch.Get "photoswipeloaded") }} +<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script> +<script src="/js/load-photoswipe.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.1/photoswipe.min.js" integrity="sha256-UplRCs9v4KXVJvVY+p+RSo5Q4ilAUXh7kpjyIP5odyc=" crossorigin="anonymous"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.1/photoswipe-ui-default.min.js" integrity="sha256-PWHOlUzc96pMc8ThwRIXPn8yH4NOLu42RQ0b9SpnpFk=" crossorigin="anonymous"></script> +{{ end }} <script src="{{ "plugins/bootstrap/js/bootstrap.min.js" | absURL }}"></script> <script src="{{ "plugins/jquery/jquery.easing.min.js" | absURL }}"></script> <script src="{{ "plugins/jquery/jquery.fittext.js" | absURL }}"></script> |