summaryrefslogtreecommitdiff
path: root/themes/hexo-theme-freemind.bithack/layout/_partial/after_footer.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'themes/hexo-theme-freemind.bithack/layout/_partial/after_footer.ejs')
m---------themes/hexo-theme-freemind.bithack0
-rw-r--r--themes/hexo-theme-freemind.bithack/layout/_partial/after_footer.ejs31
2 files changed, 31 insertions, 0 deletions
diff --git a/themes/hexo-theme-freemind.bithack b/themes/hexo-theme-freemind.bithack
deleted file mode 160000
-Subproject db335ebdc14507c7687084da084a56eb3d003f1
diff --git a/themes/hexo-theme-freemind.bithack/layout/_partial/after_footer.ejs b/themes/hexo-theme-freemind.bithack/layout/_partial/after_footer.ejs
new file mode 100644
index 0000000..6f763b1
--- /dev/null
+++ b/themes/hexo-theme-freemind.bithack/layout/_partial/after_footer.ejs
@@ -0,0 +1,31 @@
+
+<a id="gotop" href="#">
+ <span>⬆︎TOP</span>
+</a>
+
+<script src="<%- config.root %>js/jquery.imagesloaded.min.js"></script>
+<script src="<%- config.root %>js/gallery.js"></script>
+<script src="<%- config.root %>js/bootstrap.min.js"></script>
+<script src="<%- config.root %>js/main.js"></script>
+<script src="<%- config.root %>js/search.js"></script>
+
+<% if (theme.fancybox){ %>
+<link rel="stylesheet" href="<%- config.root %>fancybox/jquery.fancybox.css" media="screen" type="text/css">
+<script src="<%- config.root %>fancybox/jquery.fancybox.pack.js"></script>
+<script type="text/javascript">
+(function($){
+ $('.fancybox').fancybox();
+})(jQuery);
+</script>
+<% } %>
+
+<% if (config.search) { %>
+ <script type="text/javascript">
+ var search_path = "<%= config.search.path %>";
+ if (search_path.length == 0) {
+ search_path = "search.xml";
+ }
+ var path = "<%= config.root %>" + search_path;
+ searchFunc(path, 'local-search-input', 'local-search-result');
+ </script>
+<% } %> \ No newline at end of file