$.extend(spring.config, {
// my blog title
title: 'Spring',
// my blog description
desc: "A blog engine written by github issues [Fork me on GitHub](https://github.com/zhaoda/spring)",
// my github username
owner: 'zhaoda',
// creator's username
creator: 'zhaoda',
// the repository name on github for writting issues
repo: 'spring',
// custom page
pages: [
]
})
关于 Spring
Spring 是一个通过 GitHub Issues 撰写内容的博客引擎,或者说是一个简单、静态化的建站系统。不需要服务器和数据库支持,你可以把它作为一个 GitHub 代码仓库,并托管在免费的 GitHub Pages 上运行,然后在这个仓库的 Issues 系统里撰写日志。
你可以在这个仓库的 Issues 系统里添加 labels 标签,这些标签会成为博客的分类,然后新建 Issues,并用 Markdown 语法写日志。
Spring 拥有响应式的页面设计,可以在手机、平板和桌面端完美展现;支持 IE10 + 和所有现代浏览器,底端设备做了跳转的降级处理。
你可以快速的安装并运行这个系统。
快速安装
首先
Repository Name
)。然后
index.html
修改如下配置参数。CNAME
文件,改成已设置的域名地址。master
或gh-pages
中。接下来
Issues
功能。https://github.com/your-username/your-repo-name/issues?state=open
。New Issue
创建一个新的,并在里面写一篇日志。最后
http://your-username.github.io/your-repo-name
,你可以看到你的博客,测试一下是否可用。定制开发
安装部署
http://localhost/spring/dev.html
。dev.html
是开发模式,index.html
是线上模式。目录结构
自定义
http://localhost/spring/dev.html
,进入开发模式。dev.html
查看变化。构建
http://localhost/spring/index.html
,进入线上模式。gh-pages
分支,别忘了从master
分支合并修改后的代码。有问题可以提交 Bug
谁在用
如果你也在使用 Spring, 请告诉我 。
协议
Spring 遵循 MIT 协议,欢迎使用。