hexo-theme-miho
hexo-theme-miho copied to clipboard
为什么部署到gitlab是空白页
hexo默认主题和next主题是可以的,之前我部署到gitlab上面是可以的,但是使用这个主题就出现这个问题了,ci也没有报错运行也正常,但是就是打开网页是空白的,什么都没有,本地4000是可以运行的,但是部署到gitlab就不行了
有链接吗?我帮你看看
farthest.gitlab.io,谢谢
你好,你的网页一行代码都没有,是不是没把代码部署上去?
部署上去了的,只要把主题配置换成next或者默认的就是正常的,一旦换成miho主题就什么都没有了,你用过gitlab公共库的吗,他这个是要在服务器一起构建和部署的
我对gitlab不熟悉
我不是用gitlab部署的,我有自己的服务器,你看下gitlab教程是不是没配置好~
我自己有几个服务器,但是我不想搭个博客这么麻烦,就直接用的gitlab,**问题是我换别的主题就可以呀,只要改hexo的_config.yml主题换成next或者默认的就可以直接访问farthest.gitlab.io是正常的呢有联系方式吗,我加一下吧,这里不好说,谢谢
这是我部署到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 如果您有任何问题,可以通过回复本邮件联系我们。