更改侧边栏背景颜色

更改配置文件themes\next\source\css\_common\outline\sidebar\sidebar.styl

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.sidebar {
background: $black-deep; #背景颜色
bottom: 0;
if (!hexo-config('back2top.sidebar')){
box-shadow: inset 0 2px 6px black;
}
position: fixed;
top: 0;

+tablet-mobile() {
if (!hexo-config('sidebar.onmobile')) {
display: none;
}
}
}

修改底部用户图标为跳动的心

在主题的_config.yml中修改如下

1
2
3
4
5
6
7
8
9
10
11
12
13
14
#网站的页脚设置部分
footer:
# Specify the date when the site was setup. If not defined, current year will be used.
since: 2021 #网站的建站时间

# Icon between year and copyright info.
icon: #这里的icon是页脚建站时间和网站名字之间的图标,默认是 `user`图标
# Icon name in Font Awesome. See: https://fontawesome.com/icons
name: fa fa-heart #图标名称
# If you want to animate the icon, set it to true.
animated: true #是否是动画,默认
# Change the color of icon, using Hex Code.
color: "#ff0000" #图标颜色

阅读全文 »

安装 rime

‌‌‌ 根据官方网站安装即可 rime

安装薄荷输入法

‌‌‌ 根据官方网站安装即可 oh-my-rime

自定义输入法皮肤配色

‌‌‌ 根据官方文档操作即可,下面文档中有详细介绍皮肤各个地方的参数,如何更改。rime-wiki。‌ 也可以使用在线编辑的网友来自定义更改,下面有三个

阅读全文 »

初始化博客目录

例如:D:\hexoblog\docblog

1
2
3
4
5
[D:\hexoblog\docblog]$ hexo init
INFO Cloning hexo-starter https://github.com/hexojs/hexo-starter.git
INFO Install dependencies
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
INFO Start blogging with Hexo

目录信息

1
2
3
4
5
6
7
8
9
10
.
├── _config.yml #Hexo的配置文件
├── db.json #Hexo自动生成的文件
├── package.json #插件配置文件,下同
├── package-lock.json
├── node_modules #生成网站需要用到的Node.js模块
├── scaffolds #存放模板的文件夹
├── source #博客Markdown源文件夹
├── public #存放生成的静态HTML文件
└── themes #主题文件夹
阅读全文 »
0%