2022-10-20 21:34:54 +08:00
|
|
|
|
# 您可以在这里创建属于自己的侧边栏组件库,在需要的位置放置自己的组件
|
|
|
|
|
# layout即组件布局,支持自定义的有:
|
|
|
|
|
# - markdown: 渲染 md 文本
|
|
|
|
|
#
|
|
|
|
|
|
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
|
|
|
|
|
limit: 5 # Count of posts
|
|
|
|
|
# TOC (valid only in layout:post/wiki)
|
|
|
|
|
toc:
|
|
|
|
|
layout: toc
|
|
|
|
|
list_number: false
|
|
|
|
|
min_depth: 2
|
|
|
|
|
max_depth: 5
|
|
|
|
|
fallback: recent # Use a backup widget when toc does not exist.
|
|
|
|
|
# github user info
|
|
|
|
|
ghuser:
|
|
|
|
|
layout: ghuser
|
|
|
|
|
api: https://api.github.com
|
|
|
|
|
username: github # your github login username
|
2022-10-22 13:03:47 +08:00
|
|
|
|
avatar: true # show avatar or not
|
|
|
|
|
menu: true # show menu or not
|
2022-10-20 21:34:54 +08:00
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
welcome:
|
|
|
|
|
layout: markdown
|
|
|
|
|
title: Stellar 入门指南
|
|
|
|
|
content: | # support markdown
|
|
|
|
|
欢迎使用 [Stellar](https://github.com/xaoxuu/hexo-theme-stellar/) 主题,下面是您的入门指南,祝您使用愉快!
|
|
|
|
|
<br>
|
|
|
|
|
**第一步**
|
|
|
|
|
创建 `blog/_config.stellar.yml` 文件,在此文件中填写需要自定义的主题配置。
|
|
|
|
|
<br>
|
|
|
|
|
**第二步**
|
|
|
|
|
创建 `blog/source/_data/widgets.yml` 文件,此文件中填写需要自定义的侧边栏组件,例如 `welcome` 组件。
|
|
|
|
|
<br>
|
2022-10-23 18:27:14 +08:00
|
|
|
|
如果有任何疑问,请先查阅[文档](https://xaoxuu.com/wiki/stellar/),如果文档中没有提供,请提 [issue](https://github.com/xaoxuu/hexo-theme-stellar/issues/) 向开发中询问。
|
|
|
|
|
|
|
|
|
|
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-23 18:27:14 +08:00
|
|
|
|
user:
|