网站图标

Favicon(网站图)

1
$ favicon: /img/favicon.png

头像

1
2
3
avatar:
img: /img/avatar.jpg #图片路径
effect: false #头像会一直转圈

主页封面图片

1
2
# The banner image of home page
index_img: /img/background.jpg

文章详情页的顶部图片

当没有在front-matter设置top_img和cover的情况下会显示该图

1
2
# If the banner of page not setting, it will show the top_img
default_top_img: /img/default_top_img.jpg

归档页顶部图片

1
2
3
#归档子标签页图片
# The banner image of archive page
archive_img: /img/archive.jpg

tag标签页顶部图

1
2
#tag页(标签页)
tag_img: /img/tag_img.jpg

category页顶部图

1
2
#category页
category_img: /img/category_img.jpg

统一文章封面

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
cover:
index_enable: true # 是否展示文章封面
aside_enable: true
archives_enable: true
position: both # 封面展示的位置 left/right/both
# 当没有设置cover时,默认展示的文章封面
default_cover:
# 当配置多张图片时,会随机选择一张作为 cover. 此时写法为
- https:
- http:
- http:
- http:
- http:
- http:

如果需要为每一篇文章设置不同的封面,可以在文章的md文件中添加配置。

1
2
3
4
5
6
7
8
---
title: Hello World # 标题
tags: [hello] # 标签
categories: # 分类
description: hello word~ # 描述
top_img: /img/hello-1.png # 顶部背景图
cover: /img/hello-1.png # 文章封面
---