github pages+hexo更换next主题,There isn't a GitHub Pages site here.

我用github-pages+hexo更换next,hexo deploy部署后,https://aline2013.github.io/显示正常,
clipboard.png
但是我的个人博客显示:There isn't a GitHub Pages site here
clipboard.png

clipboard.png重新部署也还是这样,没有更换主题之前显示是正常的

阅读 9.9k
1 个回答

因为我的CNAME保存在/source/_post,hexo g时,没有生成到public/中,在public/中添加CNAME即可,最好把CNAME直接放在/source下,这样就可以包含进去了

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进