summaryrefslogtreecommitdiffstats
path: root/source/_includes
diff options
context:
space:
mode:
Diffstat (limited to 'source/_includes')
-rw-r--r--source/_includes/after_footer.html2
-rw-r--r--source/_includes/fancybox.html6
2 files changed, 7 insertions, 1 deletions
diff --git a/source/_includes/after_footer.html b/source/_includes/after_footer.html
index b7beed2..c49811f 100644
--- a/source/_includes/after_footer.html
+++ b/source/_includes/after_footer.html
@@ -1,4 +1,4 @@
-<script src="{{ root_url }}/javascripts/jquery.fancybox.pack.js"></script>
<script src="{{ root_url }}/javascripts/slash.js"></script>
+{% include fancybox.html %} <!-- Delete or comment this line to disable Fancybox -->
{% include disqus.html %}
{% include custom/after_footer.html %} \ No newline at end of file
diff --git a/source/_includes/fancybox.html b/source/_includes/fancybox.html
new file mode 100644
index 0000000..fd5bcfd
--- /dev/null
+++ b/source/_includes/fancybox.html
@@ -0,0 +1,6 @@
+<script src="{{ root_url }}/javascripts/jquery.fancybox.pack.js"></script>
+<script type="text/javascript">
+(function($){
+ $('.fancybox').fancybox();
+})(jQuery);
+</script> \ No newline at end of file