目前我做了俩个模板,普通版本和 Pjax 版本。
我的个人博客,也是主题展示地址:https://iiong.com
]]>ghost
. Please use a different user(name).从去年 9 月份发布 1.0 的消息到和 21 个 alpha 版本后终于看到 beta 了...
]]>https://sb.sb/ghost-theme-affinity/
Github 项目
https://github.com/Showfom/Affinity
Affinity is a clean, minimal, modern theme that focus on content for Ghost.
Affinity it is 100% responsive, that means it fits with all different kind of devices in different sizes.
Affinity is compiled with ToC (table of contents) and pagination without any Ghost apps.
Download the compiled and minified ZIP file here or here.
Unpack and upload the full folder affinity
to /your/path/to/ghost/content/themes
Or
Simple upload the affinity.zip
on http(s)://example.com/ghost/settings/general/
Active it
Feel free to post a new Github issue or leave comments on https://sb.sb/ghost-theme-affinity/
Go to http(s)://example.com/ghost/settings/general/
and upload your logo
Replace your favicon.ico
with /your/path/to/ghost/content/themes/affinity/favicon.ico
We recommend use Isso (self-hosted) or Disqus (third-party) or similar services, it's your own choice, Affinity is only compiled with Isso
The simplest way is insert your JS code to /your/path/to/ghost/content/themes/affinity/post.hbs
under
<div class="content-post-comments"> <div class="btn btn-primary btn-block">Post your comments here</a></div> </div>
We use jQuery, you don't need to change anything else.
We publish Affinity under MIT License
Affinity 是一款免费小清新的 Ghost 响应式博客主题,由烧饼博客制作
Affinity 采用 jQuery 实现了章节目录和首页分页功能,不需要任何的 Ghost 插件
在这里下载最新打包 .zip 版本或在这里获取所有的发布版本
解压 zip 文件,然后上传 affinity
目录到 Ghost 的 themes
文件夹,如 /your/path/to/ghost/content/themes
或者直接把 affinity.zip
上传到 Ghost 后台,如 http(s)://example.com/ghost/settings/general/
然后激活即可
如有疑问,可以直接提交 Github issue 或者在烧饼博客留言
进入 Ghost 后台 http(s)://example.com/ghost/settings/general/
上传 Logo 即可
替换 favicon.ico
到 /your/path/to/ghost/content/themes/affinity/favicon.ico
推荐使用 Isso (自己搭建) 或 Disqus (第三方) 等相关服务, Affinity 目前只适配了 Isso 的风格
直接引用你的评论 JS 代码到 /your/path/to/ghost/content/themes/affinity/post.hbs
在
<div class="content-post-comments"> <div class="btn btn-primary btn-block">Post your comments here</a></div> </div>
这段 HTML 下方即可
我们使用 jQuery 实现,不需要装任何第三方 Ghost 插件
Affinity 采用 MIT License 发布
]]>A Simple And Elegant Ghost Theme Derive From Default Theme Casper
[x] 主题基调定为小清新绿色
[x] 文章样式色调为墨蓝色,参考 [马克飞象]
[x] 返回顶部
[x] 代码高亮
[x] 侧边栏 - 标签云
[x] 侧边栏 - 文章目录
[x] 侧边栏 - 站点信息
[x] 侧边栏 - 作者信息
[x] 文章栏 - 作者信息
[x] 首页加载文章动画
[x] 响应式设计
[x] 归档功能
[x] 图片暗箱效果
[ ] 全局搜索
[ ] 延迟加载
[ ] 推荐文章置顶
[ ] 文章回复数统计
[ ] 尝试让markdown
支持更多功能
Kaldorei 使用了 ghost 的 api 来做统计,所以需要开启 ghost 的实验室中的Public API
功能。
方法: ghost 后台 >
labs
>Enable Beta Features
>勾选 Public API
Kaldorei 支持 Disqus 讨论插件,只需在后台代码注入
处添加一段代码。
方法: ghost 后台 >
Code Injection
>Blog Header
<script> var disqus_shortname = 'your_disqus_shortname'; </script>
Kaldorei 提供了简单的归档功能,使用 ghost 的 api 来生成归档,预览博客归档。
方法: ghost 后台:
- New Post > 标题输入
Archives
,这时文章的地址默认为archives-post
;- Post Settings > 勾选
Turn this post into a static page
,然后 Publish;- Navigation > 创建一个
归档
导航,地址为: http://your_blog_url/archives-post
;- 去博客首页看看你的归档吧, Have fun.
Kaldorei 用两种方法实现了标签云,方法参见我的博客。
Kaldorei 优化了发布文章的时间展示,并汉化为中文,需要修改时间(date)助手,方法参见我的博客。
附: blog 地址: hypercarol.com
]]>论试阅的重要性。
]]>ghost 更简单,说人话就是功能更少,但足够用, wordpress 功能丰富但未必都用得上 ghost 内置搜索引擎优化和社交分享,而 wordpress 需要额外安装插件 ghost 安装很简单,只需三步,而 wordpress 步骤稍微多了些 ghost 更快,因为使用了 nodejs ,这是人话么?据说扎克伯格说拍(P)黄(H)片(P)是世界上最好的语言,没有之一 ghost 成本更低,其实笔者目前还没感觉到 所以,综上, ghost 适合做博客和内容(产品,活动,会议等等)发布展示,而 wordpress 更适合做内容管理和电子商务, ghost 网站上也对比了 Tumblr 和 Medium,为了彰显它的好,那么,还等什么什么呢,赶紧搭一个用呗。 其实对于我们国人来说,最大的好处其实是这个:
ghost 没有被墙,别问我墙是什么,我会告诉你,墙是万里长城,用来保护你的
]]>求推荐~
]]>我借用了 diancloud 目前的汉化,自己加入了一些补充和修改,同时和官方保持同步更新,本身没有什么技术含量,只是希望给有需要的朋友多一个选择,如过有志同道合的朋友帮忙修正和补充,那最好不过了。
项目在此,请各位大神轻喷。
]]>
mail: {
transport: 'SMTP',
options: {
service: 'Gmail',
auth: {
user: 'xxxxx@gmail.com',
pass: 'xxxxx'
}
}
}
作者为 CaiCai
移植非完美,没有分页、没有作者页、没有标签页。
Github Repo: https://github.com/ygbhf/anatole-ghost-theme
PS: 作者说内页左侧最好不要加载图片,但我还没想好除了那,还能把图片放哪
]]>备份都没来得及备份就没了……
怎么恢复……
]]>关于网页重构、前端开发、设计……
第二篇博文一上来就教你怎么在 Github 上搭建 Ghost 博客~~
http://loyalsoldier.me/my-frontend-cultivation-blog-launched
顺便问下有没有可能直接把其他网站的主题扒拉下来?
]]>^[[31m ERROR:^[[39m ^[[31mconnect ECONNREFUSED^[[39m ^[[37mRendering Error Page^[[39m ^[[32mGhost caught a processing error in the middleware layer.^[[39m Error: connect ECONNREFUSED at errnoException (net.js:905:11) at Object.afterConnect [as oncomplete] (net.js:896:19) -------------------- at Protocol._enqueue (/var/web/zhazham/node_modules/mysql/lib/protocol/Protocol.js:110:48) at Protocol.handshake (/var/web/zhazham/node_modules/mysql/lib/protocol/Protocol.js:42:41) at Connection.connect (/var/web/zhazham/node_modules/mysql/lib/Connection.js:98:18) at /var/web/zhazham/node_modules/knex/lib/dialects/mysql/index.js:105:16 at tryCatch2 (/var/web/zhazham/node_modules/bluebird/js/main/util.js:53:21) at Promise._resolveFromResolver (/var/web/zhazham/node_modules/bluebird/js/main/promise.js:544:13) at new Promise (/var/web/zhazham/node_modules/bluebird/js/main/promise.js:84:37) at Client_MySQL.acquireRawConnection (/var/web/zhazham/node_modules/knex/lib/dialects/mysql/index.js:104:10) at Object.create (/var/web/zhazham/node_modules/knex/lib/pool.js:33:19) at Object.Pool.createResource (/var/web/zhazham/node_modules/knex/node_modules/generic-pool-redux/pool.js:288:12)
但检查mysql的错误日志时,没发现任何错误,现在重启mysql和GHOST后一切正常。
请问有人遇到过或知道是什么原因吗?谢谢了!
我的博客OraXin
]]>您可以通过以下两个模块来获得对又拍和七牛的储存支持:
sanddudu/upyun-ghost-store
Minwe/qn-store
安装方式大体相同
!!注意!!:目前版本的 upyun-ghost-store
不支持以模块方式启动,也无法将文件保存在本地,在以后的版本中会陆续添加
!!注意!!:qn-store
非本人维护,本人不承诺是否会 fork 该仓库继续实现之前的功能
可以支持当作 NPM 模块运行,具体方式参考官方文档
npm install ghost-upyun
npm install ghost-qiniu
Github 地址 :
https://github.com/sanddudu/ghost-upyun
https://github.com/sanddudu/ghost-qiniu
这次适配来的有点迟了,以后会尽量快的发布相关适配版本。
另外 Ghost 目前更新速度会加快,大家可以做好准备。
可以支持当作 NPM 模块运行,具体方式参考官方文档
npm install ghost-upyun
npm install ghost-qiniu
Github 和 NPM 的本版本 readme 里因为没有校对清楚,都有一些瑕疵,请谅解。
Github 地址 :
https://github.com/sanddudu/ghost-upyun
https://github.com/sanddudu/ghost-qiniu
Ghost theme made simple, with emoji support!
The theme is used in The GitHunt blog.
可以支持当作 NPM 模块运行,具体方式参考官方文档
npm install ghost-upyun
npm install ghost-qiniu
Github 地址 :
https://github.com/sanddudu/ghost-upyun
https://github.com/sanddudu/ghost-qiniu
可以支持当作 NPM 模块运行,具体方式参考官方 wiki
npm install ghost-upyun
npm install ghost-qiniu
因为之前版本的 BUG 感觉比较恶劣,所以推迟到 0.5.6 才开始适配
Github 地址 ( 暂时是旧版本代码 ) :
https://github.com/sanddudu/ghost-upyun
https://github.com/sanddudu/ghost-qiniu
新版地址: https://github.com/sanddudu/ghost-upyun
旧版地址不再更新
现在可以当作模块运行,已经提交到 npm ,输入 npm install ghost-upyun 即可安装。
请注意如果下载此版本,必须填写对应环境的又拍云信息,否则会报错。如果不希望使用又拍云功能,请下载官方版本
七牛版明日放出
]]>TryGhost是为那些懒得/不会折腾VPS、为了个博客而买个VPS不划算的初级玩家准备的 Ghost博客托管服务。
分免费版和付费版,有日本/旧金山两个节点,现已支持全新的 Ghost v0.5.2。
免费版有个小小的限制:
即免费版服务最多提供42周。
Ghost v0.5.2 后台界面有稍许改变,个人认为好看了一些。