Browse Source

Added lightgallery support

master
Kenneth Skovhede 9 years ago
parent
commit
3109752baf
  1. 8
      _includes/lightgallery.html
  2. 4
      _layouts/default.html
  3. 1
      css/lightgallery.min.css
  4. BIN
      images/loading.gif
  5. 5
      js/plugins/lightgallery-all.min.js

8
_includes/lightgallery.html

@ -0,0 +1,8 @@
<script src="{{ site.url }}/js/plugins/jquery.mousewheel.min.js"></script>
<script src="{{ site.url }}/js/plugins/lightgallery-all.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".lightgallery").lightGallery();
});
</script>

4
_layouts/default.html

@ -21,6 +21,7 @@
<meta http-equiv="cleartype" content="on">
<link rel="stylesheet" href="{{ site.url }}/css/main.css">
<link type="text/css" rel="stylesheet" href="{{ site.url }}/css/lightgallery.min.css" />
<!-- HTML5 Shiv and Media Query Support for IE -->
<!--[if lt IE 9]>
<script src="{{ site.url }}/js/vendor/html5shiv.min.js"></script>
@ -33,7 +34,7 @@
{% include browser-upgrade.html %}
{% include header.html %}
{% include navigation-sliding.html %}
<div id="page-wrapper">
{{ content }}
{% include footer.html %}
@ -41,6 +42,7 @@
<script src="{{ site.url }}/js/vendor/jquery-1.9.1.min.js"></script>
<script src="{{ site.url }}/js/main.js"></script>
{% include lightgallery.html %}
</body>

1
css/lightgallery.min.css

File diff suppressed because one or more lines are too long

BIN
images/loading.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

5
js/plugins/lightgallery-all.min.js

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save