Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
ExquisiteCore committed Feb 15, 2024
1 parent a48be01 commit 09035cb
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 52 deletions.
58 changes: 6 additions & 52 deletions _config.stellar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,57 +86,6 @@ comments:
crossorigin: anonymous


######## Main ########
# 站点主结构树
site_tree:
# -- 列表类页面 -- #
# 主页配置
home:
sidebar: welcome, recent, timeline
# 博客列表页配置
index_blog:
base_dir: blog # 只影响自动生成的页面路径
menu_id: post # 未在 front-matter 中指定 menu_id 时,layout 为 post 的页面默认使用这里配置的 menu_id
sidebar: welcome, recent, timeline # for categories/tags/archives
nav_tabs: # 近期发布 分类 标签 专栏 归档 and ...
'生活碎片': /life
# 博客专栏列表页配置
index_topic:
base_dir: topic # 只影响自动生成的页面路径
menu_id: post # 未在 front-matter 中指定 menu_id 时,layout 为 topic 的页面默认使用这里配置的 menu_id
# 文档列表页配置
index_wiki:
base_dir: wiki # 只影响自动生成的页面路径
menu_id: wiki # 未在 front-matter 中指定 menu_id 时,layout 为 wiki 的页面默认使用这里配置的 menu_id
sidebar: toc, ghissues, related, recent # for wiki
nav_tabs:
# 'more': https://github.com/xaoxuu
# -- 内容类页面 -- #
# 博客文章内页配置
post:
menu_id: post # 未在 front-matter 中指定 menu_id 时,layout 为 post 的页面默认使用这里配置的 menu_id
sidebar: toc, related, ghrepo, ghissues, recent # for pages using 'layout:post'
# 博客专栏文章内页配置
topic:
menu_id: post
# 文档内页配置
wiki:
menu_id: wiki # 未在 front-matter 中指定 menu_id 时,layout 为 wiki 的页面默认使用这里配置的 menu_id
sidebar: toc, ghissues, related, recent # for wiki
# 作者信息配置
author:
base_dir: author # 只影响自动生成的页面路径
menu_id: post
sidebar: recent, timeline
# 错误页配置
error_page:
menu_id: post
'404': '/404.html'
sidebar: recent, timeline
# 其它自定义页面配置 layout: page
page:
sidebar: toc, recent, timeline

footer:
social:
Github:
Expand All @@ -147,4 +96,9 @@ footer:
url: https://space.bilibili.com/453875890
Email:
icon: '<img src="https://ooo.0x0.ooo/2024/02/15/Ov8uqD.png"/>'
url: mailto:[email protected]
url: mailto:[email protected]

site_tree:
index_blog:
nav_tabs: # 近期发布 分类 标签 归档 and ...
'生活碎片': /life/ # 这里填写的链接要与对应页面一致,否则可能无法正确高亮
6 changes: 6 additions & 0 deletions source/_data/widgets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
timeline:
layout: timeline
title: 近期动态
api: https://memos.xaox.cc/api/v1/memo?creatorId=3&limit=10
type: memos
hide: user,footer
7 changes: 7 additions & 0 deletions source/_posts/GitHub-Action自动部署Hexo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: GitHub Action自动部署Hexo
cover: 'https://ooo.0x0.ooo/2023/12/22/OKge71.webp'
abbrlink: 54924fe8
date: 2024-02-15 13:15:24
tags:
---
3 changes: 3 additions & 0 deletions source/life/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ post_list: true # 显示首页导航
{% note color:orange 分享自己的生活碎片! %}

{% timeline api:https://api.github.com/repos/ExquisiteCore/ExquisiteCore.github.io/issues?direction=asc&per_page=30 %}{% endtimeline %}

{% timeline api:https://memos.xaox.cc/api/v1/memo?creatorId=3&limit=10 type:memos avatar:/assets/xaoxuu/avatar/rect-[email protected] %}
{% endtimeline %}

0 comments on commit 09035cb

Please sign in to comment.