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 · 8704 views
    This topic created in 5353 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
    just44
    Mar 8, 2012
    1
    LZ还使用wordpress吧..
    cxh116
    cxh116
    Mar 9, 2012
    2
    git push -f
    VeryCB
    VeryCB
    OP
    Mar 9, 2012
    3
    @cxh116 没用...
    fanzeyi
    fanzeyi
    Mar 9, 2012
    4
    ctrl + F5
    iandyh
    iandyh
    Mar 9, 2012
    5
    Github 缓存。
    VeryCB
    VeryCB
    OP
    Mar 10, 2012
    6
    @iandyh 一开始我也这么觉得...不过这缓的时间也太久了点吧...都好几天了还没反应
    @fanzeyi 强制刷新或者清除缓存都没用...
    MartianZ
    MartianZ
    Mar 10, 2012 via iPod
    7
    rake generate?
    貌似还有另外几个让主题生效的命令
    VeryCB
    VeryCB
    OP
    Mar 10, 2012
    9
    算了,我还是把仓库删掉重新弄吧...
    MartianZ
    MartianZ
    Mar 10, 2012 via iPod
    10
    你直接看看html代码里面的js和css是什么情况,是不是首页那里没更新?
    VeryCB
    VeryCB
    OP
    Mar 10, 2012
    11
    @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
    jinyue524
    Apr 12, 2012
    12
    貌似登录你的博客以后刷新一下就好了,好像默认载入的是你电脑中缓存的网页
    wildchild
    wildchild
    Apr 23, 2012
    13
    是浏览器缓存的,我每次都要清掉本地缓存更改才能显示出来,不知道有什么办法解决这个问题啊
    stingh711
    stingh711
    Apr 23, 2012
    14
    先去github看看souce code是不是对的,再换个浏览器试试。
    archeryan
    archeryan
    Sep 16, 2012
    15
    挖贴……
    我也遇到这个问题……LZ怎么解决?
    查看code是最新的,但是githubpage却没有更新(缓存已经清过了)…… TAT
    VeryCB
    VeryCB
    OP
    Sep 16, 2012
    16
    @archeryan 我最后放弃用jekyll-bootstrap,改用Octopress了~
    Choutreeman
    Choutreeman
    Sep 16, 2012
    17
    浏览器缓存?
    VeryCB
    VeryCB
    OP
    Sep 16, 2012
    18
    @sophy 不是
    archeryan
    archeryan
    Sep 16, 2012
    19
    @VeryCB 我是用 docpad https://github.com/bevry/docpad 的,折腾了一上午,将内容删了再ci,将项目删了再新建,重复了N次,最后终于行了Orz……
    archeryan
    archeryan
    Sep 26, 2012
    20
    @VeryCB 坑爹……这个问题一直没解决……莫非每次都要删掉重建??

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