hexo icarus
install
1 | cd /d/WorkPlace/myHexo |
添加头像
1 更改主题配置文件
1 | cd 博客目录 |
找到下面这行,取消注释即可。
1 | avatar: /images/avatar_2.gif |
上传自定义的图片到下列目录:
1 | 博客目录/themes/icarus/source/images/ |
然后在上面的主题配置文件中更改相应路径即可。
调整整体宽度
ref: https://blog.csdn.net/ye17186/article/details/111564883
在node_modules\hexo-theme-icarus\include\style目录下,找到responsive.styl,将widescreen样式中:
1 | widescreen() |
改成:
1 | +widescreen() |
- 修改 hexo-theme-icarus/layout/layout.jsx
ref: https://github.com/ppoffice/hexo-theme-icarus/issues/696
ref: https://github.com/ppoffice/hexo-theme-icarus/blob/master/layout/layout.jsx#L29-L30