我在next主题文件夹下的source目录里边放了favicon.ico的图片,像素16*16,然后,在主题配置(不是博客)的_config.yml文件中,这么写的:
favicon: /favicon.ico
然而,博客上面的图标还是没换……
不是在主题文件夹,而是在站点下的source目录下。还有,请强制刷新。我用的chrome,遇到了类似的问题,强制刷新之后就可以载入了。
我现在是解决问题了,我是放在next主题source\images目录下,同时,在主题配置文件里这么写的:
favicon: images/favicon
@Michael728 我也遇到同样问题,按照你的办法解决了
你先把图片在线修改成16*16的,然后保存起来,复制到source目录下,并将其重命名为favicon.ico,然后双击打开看一下,在部署上去,hexo d -g 就可以看到了,亲测有效
@Michael728 是放在next主题source\images目录下,同时,在主题配置文件里这么写的:
favicon: images/favicon.ico ,是这样的,我试过没问题了
@hezhipengzipp source/favicon.ico in root Hexo dir.
我的问题是ico尺寸太大,改成16的就好了
NexT is rebased into organization repo.
If you want new feature, fix, or support, create new in NexT v6.x repo (desirable in English).
There is instructions on English or Chinese how to update from v5.1.x to v 6.x
You also may read this for details.
Most helpful comment
我现在是解决问题了,我是放在next主题source\images目录下,同时,在主题配置文件里这么写的:
favicon: images/favicon