Skip to content

Instantly share code, notes, and snippets.

@yellowkingdom
Created April 17, 2015 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yellowkingdom/68bdec33362c855263a1 to your computer and use it in GitHub Desktop.
Save yellowkingdom/68bdec33362c855263a1 to your computer and use it in GitHub Desktop.
replace the google link(css/js) to baidu CDN(js) or utsc(font css) fonts link in hexo blog 在hexo静态博客中将谷歌的资源链接(css/js)替换成百度CDN或UTSC的
1.在博客根目录下:\blog\themes\landscape\layout\_partial\head.ejs 第31行 的谷歌链接改为 http://fonts.lug.ustc.edu.cn/css?family=Source+Code+Pro
2.在博客根目录下:\blog\themes\landscape\layout\_partial\after-footer.ejs 第17行 的链接改为 <script src="http://apps.bdimg.com/libs/jquery/2.0.3/jquery.min.js"></script>
然后就 hexo generate 部署即可
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment