V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
xiaoluoboding
V2EX  ›  Ghost

Ghost 博客主题 kaldorei v0.8.0 发布

  •  2
     
  •   xiaoluoboding · 2017-02-20 12:21:14 +08:00 · 6564 次点击
    这是一个创建于 2584 天前的主题,其中的信息可能已经有所发展或是发生改变。

    Kaldorei

    A Simple And Elegant Ghost Theme Derive From Default Theme Casper

    Preview

    img

    Plan to do

    • [x] 主题基调定为小清新绿色

    • [x] 文章样式色调为墨蓝色,参考 [马克飞象]

    • [x] 返回顶部

    • [x] 代码高亮

    • [x] 侧边栏 - 标签云

    • [x] 侧边栏 - 文章目录

    • [x] 侧边栏 - 站点信息

    • [x] 侧边栏 - 作者信息

    • [x] 文章栏 - 作者信息

    • [x] 首页加载文章动画

    • [x] 响应式设计

    • [x] 归档功能

    • [x] 图片暗箱效果

    • [ ] 全局搜索

    • [ ] 延迟加载

    • [ ] 推荐文章置顶

    • [ ] 文章回复数统计

    • [ ] 尝试让markdown支持更多功能

    How to use

    统计

    Kaldorei 使用了 ghost 的 api 来做统计,所以需要开启 ghost 的实验室中的Public API功能。

    方法: ghost 后台 > labs > Enable Beta Features > 勾选 Public API

    开启 Disqus

    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.

    About ghost helpers

    Kaldorei 用两种方法实现了标签云,方法参见我的博客

    Kaldorei 优化了发布文章的时间展示,并汉化为中文,需要修改时间(date)助手,方法参见我的博客

    Credit

    7 条回复    2017-03-28 18:09:14 +08:00
    designer
        1
    designer  
       2017-02-20 12:40:29 +08:00
    赞!主题越来越多了。
    airycanon
        2
    airycanon  
       2017-02-20 13:29:04 +08:00
    1.0 之前,坚决不折腾了。
    xiaoluoboding
        3
    xiaoluoboding  
    OP
       2017-02-20 13:46:58 +08:00
    @designer 感谢支持。
    xiaoluoboding
        4
    xiaoluoboding  
    OP
       2017-02-20 13:47:35 +08:00
    @airycanon 从 0.8.0 等到现在 0.11.4 等一年了。
    pupboss
        5
    pupboss  
       2017-02-20 16:46:51 +08:00
    归档功能实现的真不错,刚刚偷了你的 idea 并且移植到了我博客...还望勿怪...
    xiaoluoboding
        6
    xiaoluoboding  
    OP
       2017-02-21 01:53:18 +08:00
    @pupboss 拿去,不谢。😄
    cpublic
        7
    cpublic  
       2017-03-28 18:09:14 +08:00
    不错,支持一下先!我今天刚把 Ghost 部署好!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3849 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 05:06 · PVG 13:06 · LAX 22:06 · JFK 01:06
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.