指定文件夹下面生成文件

# hexo new post <title>
# -p 参数可以指定文章的路径
hexo new post -p hello/hello-world # 注意里面的title为post
# 此时里面的title为hello-world
# hexo new post title -p dir/filename
hexo new post hello-world -p hello/hello-world

## 当然了手动将文章放到指定的文件夹中也可以

吸顶,状态栏

导航栏下拉列表

每篇博客的访问量

图标问题,图片显示问题,加载慢

全图背景:发现能实现一图化,全部页面都是这张图片,但是不能实现多图一图化

butterfly的config里面

default_top_img: transparent 或者pic url
background: url(/img/yourname.png)

然后图片设置完成了,其他的要改透明度:

在butterfly的source/css下面自己写个xxx.css
然后写入
/* 首页文章卡片 */
#recent-posts > .recent-post-item{
background:rgba(255, 255, 255, 0.7);
}
/* 首页侧栏卡片 */
.card-widget{
background:rgba(255, 255, 255, 0.7)!important;
}
/* 文章页面正文背景 */
div#post{
background: rgba(255, 255, 255, 0.7);
}
/* 分页页面 */
div#page{
background: rgba(255, 255, 255, 0.7);
}
/* 归档页面 */
div#archive{
background: rgba(255, 255, 255, 0.7);
}
/* 标签页面 */
div#tag{
background: rgba(255, 255, 255, 0.7);
}
/* 分类页面 */
div#category{
background: rgba(255, 255, 255, 0.7);
}
再在butterfly的config里面搜inject,改为如下
inject:
head:
- <link rel="stylesheet" href="/css/mycss.css" media="defer" onload="this.media='all'">

参考链接:

https://akilar.top/posts/ebf20e02/

https://qianchenggit.github.io/2021/10/06/%E5%8D%9A%E5%AE%A2%E8%83%8C%E6%99%AF%E4%BD%BF%E7%94%A8%E4%B8%80%E5%9B%BE%E6%B5%81/

https://www.antmoe.com/posts/7198453/index.html#%E9%99%84%E5%BD%95

https://zfe.space/post/65396.html

底部背景:footer_bg: true

搞完不知道为什么busuanzi显示不成功

hexo 博客预览出现一串数字,搜索没发现解决方法。很少文章提到

这些数字是代码块的行号

https://segmentfault.com/q/1010000012696561

显示行号改为FALSE之后没有立刻好,但是后面就解决了问题了。

index.css里面有#web_bg 不知道什么用

还有重新家族,老是会闪一下

图床:

下载picgo方便管理

Release 2.3.1 · Molunerfinn/PicGo · GitHub 巨慢

其他魔改待看:

hexo-butterfly魔改记录 - yyyz - 博客园 (cnblogs.com)

Butterfly主题美化日记 | Akilarの糖果屋

https://www.cnblogs.com/antmoe/p/12846393.html

https://guole.fun/posts/butterfly-custom/index.html

http://doyon.gitee.io/doyon/2021/04/28/Butterfly%E4%B8%BB%E9%A2%98%E8%83%8C%E6%99%AF%E9%AD%94%E6%94%B9/