# Dev
$ npm run dev
# Clean
$ npm run clean
# Update Gem
$ npm run update
Build and Deploy by Vercel
Source Code for my blog
Home Page: https://blog.yourtion.com
# Dev
$ npm run dev
# Clean
$ npm run clean
# Update Gem
$ npm run update
Build and Deploy by Vercel
点击文章图片添加LightBox而不是直接新窗口打开
通过 config 进行配置
去除 GitHub Button 换成社交按钮
图片添加 Lazy Load 同时利用七牛进行裁剪显示
"Node.js"标签出现
Uncaught TypeError: Cannot read property 'top' of undefined
API:http://zn.baidu.com/cse/home
参考文档:http://bs.baidu.com/zhanzhang/Baidu_CommonAPI_Guide.pdf
调用方法:
var cse;
//处理结果回调函数示例
function display (data) {
console.log(data);
}
//初始化回调函数示例
function init() {
cse = new BCse.Search("16341868562305064722"); //参数为您的API引擎ID,已自动填写,必需。
cse.getResult("关键词", display); //此方法获取搜索结果,参数1为搜索词,参数2为您获取到结果后想要执行的回调函数。
}
function loadScript() {
var script = document.createElement("script");
script.type = "text/javascript";
script.charset = "utf-8";
script.src = "http://zhannei.baidu.com/api/customsearch/apiaccept?sid=16341868562305064722&v=2.0&callback=init";
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(script, s);
}
loadScript();
首页文章可以查看多页
在Tag页点击右侧推荐内容中的标签部分,不能与顶部标签一样实现平滑Scroll
标签需要等到页面加载完成后才Scroll,体验不好
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.