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

学习 Jekyll 日志贴

  •  
  •   FRHong · Nov 23, 2019 · 3996 views
    This topic created in 2384 days ago, the information mentioned may be changed or developed.

    多年 WP 用户,最近处于兴趣,试试看 Jekyll,主要原因是静态,而且希望可以少折腾一点。尽管如此,学习过程中还是有一些问题,希望开帖,自己记录的同事,也能请教各位 V 有。

    2019-Nov-23

    1. 这篇教程写得不错。这里收藏一下。

    2. [模版问题] - 似乎在 __config.yml 这个文件里可以直接用在 Github 上的主题。比如输入 remote_theme: aspirethemes/type 就可以用到 “Type” 这个主题。

    这里提问一个问题。

    [例子]

    • 我的 Github page 是 abc/abc.github.io
    • 我把 type 模版 folk 过来 abc/type
    • 然后在我的 ‘abc/abc.github.io’ 的 ‘_config.yml’ 文件写上 remote_theme: abc/type,可以成功调用到这个 theme
    • 问题: 那么我要做模版修改的时候,是在 abc/type 这里修改, 还是要把文件都复制到 abc/abc.github.io 里面,然后再一点一点修改呢?
    1 replies    2019-11-23 16:30:57 +08:00
    FRHong
        1
    FRHong  
    OP
       Nov 23, 2019
    [Update - 在 Mac 本地安装 Jekyll 遇到的问题]

    Jekyll Youtube 上的教程可以。
    https://jekyllrb.com/tutorials/video-walkthroughs/#list-of-lessons

    但是到了 gem install jekyll bundler 的时候遇到下面的错误信息:
    You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory

    解决办法:
    https://github.com/jekyll/jekyll/issues/6893#issuecomment-378122491

    $ sudo gem install jekyll bundler

    [End of the Update]
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1230 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 17:36 · PVG 01:36 · LAX 10:36 · JFK 13:36
    ♥ Do have faith in what you're doing.