summaryrefslogtreecommitdiffstats
path: root/source/_includes
diff options
context:
space:
mode:
authorTommy Chen <tommy351@gmail.com>2012-06-03 04:35:21 +0200
committerTommy Chen <tommy351@gmail.com>2012-06-03 04:40:55 +0200
commit94270a6ab47692520b18fd136342f05c496deaeb (patch)
treec5703af62bfa7d9d9bcc20d2167d1541ded8b307 /source/_includes
parente3cc2b2ff5d96ed69c982c100692a1745bc261ef (diff)
downloadoctopress-theme-jeyzu-94270a6ab47692520b18fd136342f05c496deaeb.zip
octopress-theme-jeyzu-94270a6ab47692520b18fd136342f05c496deaeb.tar.gz
rewrite caption.js & isolate fancybox
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