hexo-theme-miho icon indicating copy to clipboard operation
hexo-theme-miho copied to clipboard

更新博文,就会自动把网址更新成:github.xxx.io,怎么改成自己的个人网址又不会被修改呀

Open haolixu opened this issue 7 years ago • 6 comments

你懂我意思吧大佬??? 详细的说:就是我新建.md文件然后hexo g,hexo d 就发现每次更新博文之后个人网站访问不了,会被修改成github.xx.io,然后每次都得手动修改回来。。比较惆怅

haolixu avatar Oct 08 '17 10:10 haolixu

你的站点配置文件_config.yml的url配置对了吗?

WongMinHo avatar Oct 08 '17 15:10 WongMinHo

我表示不确定 目前就更新了 三篇文章 不记得是手动填的还是怎么的

ChenYCL avatar Oct 08 '17 15:10 ChenYCL

配置了呀,

URL

If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'

url: http://www.lixu.tech root: / permalink: :year/:month/:day/:title/ permalink_defaults: 是这里吗???

haolixu avatar Oct 08 '17 15:10 haolixu

@haolixu 是这里,你是用什么方法部署网站的?

WongMinHo avatar Oct 10 '17 13:10 WongMinHo

就是github page 静态托管呀

haolixu avatar Oct 12 '17 10:10 haolixu

那应该是配置问题,你看看吧,我不是这样部署的。

WongMinHo avatar Oct 12 '17 14:10 WongMinHo