2022-10-20 21:34:54 +08:00
|
|
|
|
# 您可以在这里创建属于自己的侧边栏组件库,在需要的位置放置自己的组件
|
|
|
|
|
# layout即组件布局,支持自定义的有:
|
|
|
|
|
# - markdown: 渲染 md 文本
|
|
|
|
|
#
|
2022-11-29 22:25:02 +08:00
|
|
|
|
|
2022-10-20 22:57:40 +08:00
|
|
|
|
ghrepo:
|
|
|
|
|
layout: ghrepo
|
2022-10-25 13:57:31 +08:00
|
|
|
|
related:
|
|
|
|
|
layout: related
|
2022-10-20 21:34:54 +08:00
|
|
|
|
|
2022-10-26 22:44:50 +08:00
|
|
|
|
ghissues:
|
|
|
|
|
layout: ghissues
|
|
|
|
|
title: # Recent Issues
|
|
|
|
|
limit: 3 # 显示的issues最大数量
|
|
|
|
|
labels: # 过滤只显示具有某些标签的issues
|
|
|
|
|
|
2022-10-20 21:34:54 +08:00
|
|
|
|
# 将其覆盖设置为空,可删除一个默认组件,例如 welcome:
|
|
|
|
|
# Recent update
|
|
|
|
|
recent:
|
|
|
|
|
layout: recent
|
|
|
|
|
rss: # /atom.xml # npm i hexo-generator-feed
|
2024-01-17 00:27:48 +08:00
|
|
|
|
limit: 10 # Count of posts
|
2024-01-02 19:50:42 +08:00
|
|
|
|
|
2024-02-05 18:01:50 +08:00
|
|
|
|
# 页面树(与当前页面强关联的上下篇文章列表)
|
2024-02-05 10:03:55 +08:00
|
|
|
|
tree:
|
|
|
|
|
layout: tree
|
|
|
|
|
|
2024-02-05 18:01:50 +08:00
|
|
|
|
# 本文目录(当前页面内各级标题列表)
|
2022-10-20 21:34:54 +08:00
|
|
|
|
toc:
|
|
|
|
|
layout: toc
|
2024-02-05 18:01:50 +08:00
|
|
|
|
list_number: false
|
2024-02-05 10:03:55 +08:00
|
|
|
|
min_depth: 1
|
|
|
|
|
max_depth: 6
|
2024-01-02 19:50:42 +08:00
|
|
|
|
collapse: false # true / false / auto
|
2024-02-05 18:01:50 +08:00
|
|
|
|
# 编辑本文按钮
|
|
|
|
|
edit_this_page: # 从开头开始匹配替换
|
2024-02-05 18:39:09 +08:00
|
|
|
|
'_posts/': # https://github.com/xaoxuu/xaoxuu.com/blob/main/source/_posts/
|
2024-02-05 18:01:50 +08:00
|
|
|
|
'wiki/stellar/': https://github.com/xaoxuu/hexo-theme-stellar-docs/blob/main/
|
2024-01-02 19:50:42 +08:00
|
|
|
|
|
2024-02-05 18:01:50 +08:00
|
|
|
|
# GitHub 用户信息
|
2022-10-20 21:34:54 +08:00
|
|
|
|
ghuser:
|
|
|
|
|
layout: ghuser
|
2024-02-05 18:01:50 +08:00
|
|
|
|
username: # your github login username
|
2022-10-22 13:03:47 +08:00
|
|
|
|
avatar: true # show avatar or not
|
2022-10-20 21:34:54 +08:00
|
|
|
|
|
2024-02-05 18:01:50 +08:00
|
|
|
|
# 本文作者组件,需要先配置作者信息: authors.yml
|
|
|
|
|
author:
|
|
|
|
|
layout: author
|
|
|
|
|
avatar: true
|
|
|
|
|
|
|
|
|
|
# 标签云组件
|
2022-10-26 21:19:52 +08:00
|
|
|
|
tagcloud:
|
|
|
|
|
layout: tagcloud
|
|
|
|
|
title: 标签云
|
|
|
|
|
# 标签云配置
|
|
|
|
|
min_font: 12
|
|
|
|
|
max_font: 24
|
|
|
|
|
amount: 100
|
|
|
|
|
orderby: name
|
|
|
|
|
order: 1 # 1, sac 升序;-1, desc 降序
|
|
|
|
|
color: false # 使用颜色
|
|
|
|
|
start_color: # 开始的颜色。您可使用十六进位值(#b700ff),rgba(rgba(183, 0, 255, 1)),hsla(hsla(283, 100%, 50%, 1))或 颜色关键字。此变量仅在 color 参数开启时才有用。
|
|
|
|
|
end_color: # 结束的颜色。您可使用十六进位值(#b700ff),rgba(rgba(183, 0, 255, 1)),hsla(hsla(283, 100%, 50%, 1))或 颜色关键字。此变量仅在 color 参数开启时才有用。
|
|
|
|
|
show_count: false # 显示每个标签的文章总数
|
2022-10-20 21:34:54 +08:00
|
|
|
|
|
2022-10-23 18:27:14 +08:00
|
|
|
|
timeline:
|
|
|
|
|
layout: timeline
|
|
|
|
|
title: 近期动态
|
2022-10-29 23:14:28 +08:00
|
|
|
|
api: # https://api.github.com/repos/xaoxuu/hexo-theme-stellar/issues
|
2022-10-30 21:23:26 +08:00
|
|
|
|
user: # 默认显示所有人的数据,设置名称可过滤为仅显示某人的数据,多个名称用英文逗号隔开,不要加空格
|
|
|
|
|
type: # 默认不用写,如果是友链朋友圈数据请写 fcircle
|
|
|
|
|
limit: # 默认通过 api 上增加 per_page 来设置,如果是友链朋友圈,可通过这个设置数量
|
2024-05-13 09:45:38 +08:00
|
|
|
|
|
|
|
|
|
tagtree:
|
|
|
|
|
layout: tagtree
|
|
|
|
|
expand_all: false # 是否展开所有节点
|
|
|
|
|
expand_active: true # 是否展开当前节点
|
|
|
|
|
show_tagcon: true # 是否显示标签 icon
|