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

Jekyll换主题push到github没反应,求解

  •  
  •   VeryCB · Mar 8, 2012 · 8297 views
    This topic created in 5206 days ago, the information mentioned may be changed or developed.
    继续问小白问题...

    在本地用

    $ rake theme:switch name="tom"

    换好了主题,

    jekyll --server

    本地测试成功,然后

    git add .
    git commit -m '...'
    git push

    到github page,但等了一天了主题都没换过来...

    求解~

    PS:其他都正常,也可以创建post,然后Push到github上都会收到notification说build successful,就是换主题怎么push都收不到build成功的通知:(
    21 replies    1970-01-01 08:00:00 +08:00
    just44
        1
    just44  
       Mar 8, 2012
    LZ还使用wordpress吧..
    cxh116
        2
    cxh116  
       Mar 9, 2012
    git push -f
    VeryCB
        3
    VeryCB  
    OP
       Mar 9, 2012
    @cxh116 没用...
    fanzeyi
        4
    fanzeyi  
       Mar 9, 2012
    ctrl + F5
    iandyh
        5
    iandyh  
       Mar 9, 2012
    Github 缓存。
    VeryCB
        6
    VeryCB  
    OP
       Mar 10, 2012
    @iandyh 一开始我也这么觉得...不过这缓的时间也太久了点吧...都好几天了还没反应
    @fanzeyi 强制刷新或者清除缓存都没用...
    MartianZ
        7
    MartianZ  
       Mar 10, 2012 via iPod
    rake generate?
    貌似还有另外几个让主题生效的命令
    VeryCB
        9
    VeryCB  
    OP
       Mar 10, 2012
    算了,我还是把仓库删掉重新弄吧...
    MartianZ
        10
    MartianZ  
       Mar 10, 2012 via iPod
    你直接看看html代码里面的js和css是什么情况,是不是首页那里没更新?
    VeryCB
        11
    VeryCB  
    OP
       Mar 10, 2012
    @MartianZ 本机换成功了,也得到了如下消息:

    Generating 'tom' layout: default.html
    Generating 'tom' layout: page.html
    Generating 'tom' layout: post.html
    => Theme successfully switched!
    => Reload your web-page to check it out =))

    push到github也成功了,而且github上“_layouts”目录里的3个文件也都是新生成的,比如default.html是

    git://gist.github.com/2007382.git

    但访问的时候还是twitter主题:(
    jinyue524
        12
    jinyue524  
       Apr 12, 2012
    貌似登录你的博客以后刷新一下就好了,好像默认载入的是你电脑中缓存的网页
    wildchild
        13
    wildchild  
       Apr 23, 2012
    是浏览器缓存的,我每次都要清掉本地缓存更改才能显示出来,不知道有什么办法解决这个问题啊
    stingh711
        14
    stingh711  
       Apr 23, 2012
    先去github看看souce code是不是对的,再换个浏览器试试。
    archeryan
        15
    archeryan  
       Sep 16, 2012
    挖贴……
    我也遇到这个问题……LZ怎么解决?
    查看code是最新的,但是githubpage却没有更新(缓存已经清过了)…… TAT
    VeryCB
        16
    VeryCB  
    OP
       Sep 16, 2012
    @archeryan 我最后放弃用jekyll-bootstrap,改用Octopress了~
    0racleTink
        17
    0racleTink  
       Sep 16, 2012
    浏览器缓存?
    VeryCB
        18
    VeryCB  
    OP
       Sep 16, 2012
    @sophy 不是
    archeryan
        19
    archeryan  
       Sep 16, 2012
    @VeryCB 我是用 docpad https://github.com/bevry/docpad 的,折腾了一上午,将内容删了再ci,将项目删了再新建,重复了N次,最后终于行了Orz……
    archeryan
        20
    archeryan  
       Sep 26, 2012
    @VeryCB 坑爹……这个问题一直没解决……莫非每次都要删掉重建??

    于是我干脆在github上在线修改……发现githubpage还是无法更新……QAQ……
    melaozhu
        21
    melaozhu  
       Sep 26, 2012
    我也遇到了这个问题,应该是jekyll生成静态页面这个过程有延迟,过一会儿就好了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3118 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 62ms · UTC 13:53 · PVG 21:53 · LAX 06:53 · JFK 09:53
    ♥ Do have faith in what you're doing.