Step1: Download the .js package from : http://instantclick.io
Step2: Add the .js package to octopress/source/javascripts/instantclick.min.js
Step3: Add these two line of code in octopress/source/_includes/custom/after_footer.html
<script src="instantclick.min.js" data-no-instant></script>
<script data-no-instant>InstantClick.init();</script>
本文介绍如何通过InstantClick库为Octopress博客系统实现页面间的即时加载效果,提升用户体验。具体步骤包括下载InstantClick.js文件、将其部署到Octopress的指定目录,并在_after_footer.html模板中加入必要的初始化脚本。
273

被折叠的 条评论
为什么被折叠?



