Jekyll
› http://jekyllrb.com/
Jekyll on GitHub
› https://github.com/mojombo/jekyll
Jekyll-bootstrap
› http://jekyllbootstrap.com/
Octopress
› http://octopress.org/
Livid
403.84D
563.76D
V2EX  ›  Jekyll

Jekyll-bootstrap

  •  
  •   Livid ·
    PRO
    · Jan 18, 2012 · 9848 views
    This topic created in 5407 days ago, the information mentioned may be changed or developed.
    http://jekyllbootstrap.com/

    帮助你快速用 Jekyll 在 GitHub 上建立自己的网站。
    26 replies  •  1970-01-01 08:00:00 +08:00
    gfreezy
    gfreezy
    Jan 18, 2012
    1
    octopress要本地安装环境才能用,这个部署好了后就能跟普通的repository一样,比octopress方便点。
    soulhacker
    soulhacker
    Jan 18, 2012 via iPhone
    2
    我觉得 Octopress 主要好处是裁减得恰到好处的缺省 skin 和那些 plugin…
    gfreezy
    gfreezy
    Jan 18, 2012
    3
    @soulhacker octopress不用折腾,该有的常用的都有,默认主题也能用。
    qq286735628
    qq286735628
    Jan 18, 2012
    4
    win环境下面用Git好纠结呀
    jjgod
    jjgod
    Jan 19, 2012
    5
    @soulhacker: octopress 的默认 theme 丑暴了,跟 WordPress n 年以前的一个默认主题有一拼。
    liuhang0077
    liuhang0077
    Jan 19, 2012
    6
    问下我用 git push origin master 来更新文章怎么没反应啊?
    flyingkid
    flyingkid
    Jan 19, 2012
    7
    @liuhang0077 git push -u origin master
    liuhang0077
    liuhang0077
    Jan 19, 2012
    8
    @flyingkid 恩=,=他说是同步了 【Everything up-to-date】 可是还是木有改变 为什么呀~~
    是不是要等等。。 http://liuhang0077.github.com/
    flyingkid
    flyingkid
    Jan 19, 2012
    9
    @liuhang0077 处男15-30分钟。
    flyingkid
    flyingkid
    Jan 19, 2012
    10
    @liuhang0077 我这里已经看到了。
    liuhang0077
    liuhang0077
    Jan 19, 2012
    11
    @flyingkid 唵。。。 有中文么? 还只是个初始化的界面?
    flyingkid
    flyingkid
    Jan 19, 2012
    12
    @liuhang0077 没有中文,是的:)
    liuhang0077
    liuhang0077
    Jan 19, 2012
    13
    @flyingkid 我在本地【_posts】-【core-samples】写好了日志 并且保存 然后在终端 git push -u origin master 你看这样对么? 同步了好多次他都说【Everything up-to-date】 》o《 很无言呀~~
    flyingkid
    flyingkid
    Jan 19, 2012
    14
    过程是这样的。

    git add .
    git commit -m "push posts"
    git push -u origin master
    flyingkid
    flyingkid
    Jan 19, 2012
    15
    @liuhang0077

    每次改变都需要这样,添加所有文件

    git add .

    然后写个信息

    git commit -m "....."

    最后才能

    git push


    是这样的步骤吗?
    liuhang0077
    liuhang0077
    Jan 19, 2012
    16
    @flyingkid 多谢多谢~~~ 成功了
    soulhacker
    soulhacker
    Jan 19, 2012
    17
    @jjgod 哈哈,你要求太高了,一般人还是可以接受的…… 另外那个缺省 theme 千万不能写中文,否则大暴死…
    vicalloy
    vicalloy
    Jan 19, 2012
    18
    github好像只能在线编辑,无法在线创建文件。
    不然就可以直接在github上在线写作了。
    liuhang0077
    liuhang0077
    Jan 19, 2012
    19
    @Livid 你的文章列表怎么调用的啊? 我弄了半天不会弄哇!
    flyingkid
    flyingkid
    Jan 19, 2012
    20
    @liuhang0077


    {% for post in site.posts %}
    <li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
    {% endfor %}
    liuhang0077
    liuhang0077
    Jan 19, 2012
    21
    @flyingkid 简直是太感谢你了~~ 哪吒~~ :)))))
    pala
    pala
    Jan 19, 2012
    22
    @liuhang0077 https://github.com/mojombo/jekyll/wiki/template-data 这里详细介绍了Jekyll用到的各种变量
    X_Del
    X_Del
    Jan 19, 2012
    23
    Windows下貌似生成不了html
    icerunz
    icerunz
    Jan 19, 2012
    24
    后来不想折腾了。。。。GEM被墙
    Livid
    Livid
    MOD
    OP
    PRO
    Jan 21, 2012
    25
    @icerunz 可以用淘宝的 gem 仓库:

    gem sources -a http://ruby.taobao.org/
    young
    young
    Oct 9, 2012
    26
    正在搞 不错
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1664 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 54ms · UTC 11:05 · PVG 19:05 · LAX 03:05 · JFK 06:05
    ♥ Do have faith in what you're doing.