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

2012 年 3 月 8 日
 VeryCB
继续问小白问题...

在本地用

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

于是我干脆在github上在线修改……发现githubpage还是无法更新……QAQ……

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/29107

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX