Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么部署到gitlab是空白页 #16

Open
WinterIsKingTong opened this issue Feb 25, 2018 · 8 comments
Open

为什么部署到gitlab是空白页 #16

WinterIsKingTong opened this issue Feb 25, 2018 · 8 comments

Comments

@WinterIsKingTong
Copy link

hexo默认主题和next主题是可以的,之前我部署到gitlab上面是可以的,但是使用这个主题就出现这个问题了,ci也没有报错运行也正常,但是就是打开网页是空白的,什么都没有,本地4000是可以运行的,但是部署到gitlab就不行了

@WongMinHo
Copy link
Owner

有链接吗?我帮你看看

@WinterIsKingTong
Copy link
Author

farthest.gitlab.io,谢谢

@WongMinHo
Copy link
Owner

你好,你的网页一行代码都没有,是不是没把代码部署上去?

@WinterIsKingTong
Copy link
Author

部署上去了的,只要把主题配置换成next或者默认的就是正常的,一旦换成miho主题就什么都没有了,你用过gitlab公共库的吗,他这个是要在服务器一起构建和部署的

@WinterIsKingTong
Copy link
Author

我对gitlab不熟悉

@WongMinHo
Copy link
Owner

我不是用gitlab部署的,我有自己的服务器,你看下gitlab教程是不是没配置好~

@WinterIsKingTong
Copy link
Author

我自己有几个服务器,但是我不想搭个博客这么麻烦,就直接用的gitlab,**问题是我换别的主题就可以呀,只要改hexo的_config.yml主题换成next或者默认的就可以直接访问farthest.gitlab.io是正常的呢有联系方式吗,我加一下吧,这里不好说,谢谢

@WinterIsKingTong
Copy link
Author

这是我部署到github上面的,给我发的邮件,下面是翻译,不会Jekyll不支持这个主题吧

The page build completed successfully, but returned the following warning for the master branch:

You are attempting to use a Jekyll theme, "miho", which is not supported by GitHub Pages. Please visit https://pages.github.com/themes/ for a list of supported themes. If you are using the "theme" configuration variable for something other than a Jekyll theme, we recommend you rename this variable throughout your site. For more information, see https://help.github.com/articles/adding-a-jekyll-theme-to-your-github-pages-site/.

For information on troubleshooting Jekyll see:

https://help.github.com/articles/troubleshooting-jekyll-builds

If you have any questions you can contact us by replying to this email.

页面构建成功地完成了,但是返回了对主分支的以下警告:
您正在尝试使用一个Jekyll的主题,“miho”,它不受GitHub页面的支持。请访问https://pages.github.com/themes/支持的主题列表。如果您使用的是“主题”配置变量而不是Jekyll主题,我们建议您在您的站点上重命名这个变量。有关更多信息,请参见https://help.github.com/articles/adding-a-jekyll-theme-to-your-github-pages-site/。
关于Jekyll的故障诊断信息:
https://help.github.com/articles/troubleshooting-jekyll-builds
如果您有任何问题,可以通过回复本邮件联系我们。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants