by
0
4
3,893
2
Top 1% !
Popular
Famous
Specified
Popularity: 2618th place
Created
Modified Apr 17, 2015

Published on:

No tags for this snippet yet.
LanguageCSS
Languagejs
LicenseMIT_X11
SourceGitHub

replace the google link(css/js) to baidu CDN(js) or utsc(font css) fonts link in hexo blog 在hexo静态博客中将谷歌的资源链接(css/js)替换成百度CDN或UTSC的

replace the google link(css/js) to baidu CDN(js) or utsc(font css) fonts link in hexo blog
在hexo静态博客中将谷歌的资源链接(css/js)替换成百度CDN或UTSC的: 
hexo_google
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/466525/replace-the-google-link(css-js)-to-baidu?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
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 部署即可
If you want to be updated about similar snippets, Sign in and follow our Channels