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

jekyllbootstrap在index.md中BASE_PATH不生效的解决办法

  •  
  •   xi4oh4o · Apr 30, 2012 · 3177 views
    This topic created in 5151 days ago, the information mentioned may be changed or developed.
    见:https://github.com/plusjade/jekyll-bootstrap/issues/65

    只需在开头加上{% include JB/setup %}

    似乎只有使用xxx.me/blog/这样二级目录并希望在页面中使用BASE_PATH才会发现这个问题。

    另外发现似乎在git push提交后github并不会处理pages,而必须用github的editor编辑下再commit才会提示页面成功。

    也许只用git push后需要等一会才行?
    1 replies    1970-01-01 08:00:00 +08:00
    xinkiang
        1
    xinkiang  
       Apr 30, 2012
    同样遇到过,直接把BASE_PATH换成 . 粗暴地解决。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   980 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 23:03 · PVG 07:03 · LAX 16:03 · JFK 19:03
    ♥ Do have faith in what you're doing.