V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Jekyll
http://jekyllrb.com/
Jekyll on GitHub
https://github.com/mojombo/jekyll
Jekyll-bootstrap
http://jekyllbootstrap.com/
Octopress
http://octopress.org/
sohu022
V2EX  ›  Jekyll

运行在 GitHub 上的 Jekyll 博客怎么样能够添加文章分类?

  •  
  •   sohu022 · 2014 年 5 月 30 日 · 4550 次点击
    这是一个创建于 4257 天前的主题,其中的信息可能已经有所发展或是发生改变。
    在Github上面搭建了一个Jekyll的博客,想给文章添加一下分类,网上搜了一下没看到有什么好的方案,大部分不能在Github上使用,大家有没有什么方法来实现呢?
    7 条回复    2014-08-13 15:31:23 +08:00
    bearcat001
        1
    bearcat001  
       2014 年 5 月 30 日   ❤️ 1
    http://jekyllrb.com/docs/frontmatter/
    官方文档里有写,用category
    Aegwynn
        2
    Aegwynn  
       2014 年 5 月 30 日   ❤️ 1
    zhwei
        3
    zhwei  
       2014 年 5 月 30 日   ❤️ 1
    github上的jekyll支持tag的, 每篇文章添加一个tag不就是分类了么。
    sohu022
        4
    sohu022  
    OP
       2014 年 5 月 30 日 via Android
    @zhwei 嗯,刚接触,以前一直用wordpress,后来用了转移到Ghost,最近有打算用github page,想在hexo 和jekyll以及octpress中间选一个。
    66beta
        5
    66beta  
       2014 年 5 月 30 日
    @sohu022 hexo不后悔,jekyll/octopress要人命 T..T
    usedname
        6
    usedname  
       2014 年 5 月 30 日
    http://never.doubting.me/2013/04/18/2013-04-18-setup-octopress-on-github-step-by-step/
    ---
    layout: post
    title: "教程:一步步在github上建立octopress博客"
    date: 2013-04-18 01:13
    author: znithy
    comments: true
    categories:
    - 教程
    - github
    - octopress
    published: false
    ---
    上面这个就是分类啊
    nolan1864
        7
    nolan1864  
       2014 年 8 月 13 日
    @usedname
    如果模版没有是不是就不行了?
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2608 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 05:54 · PVG 13:54 · LAX 21:54 · JFK 00:54
    ♥ Do have faith in what you're doing.