Skip to content

Commit 47296ed

Browse files
committed
[v3] first commit
1 parent 536b267 commit 47296ed

File tree

171 files changed

+18059
-3606
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+18059
-3606
lines changed

.github/hook.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: io.github.sysdl132.pages.buildhook
2+
3+
on:
4+
push:
5+
branches:
6+
- main # default branch
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}
15+
# If your repository depends on submodule, please see: https://github.com/actions/checkout
16+
submodules: recursive
17+
- name: Use Node.js 20
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: "24.11.0"
21+
- name: Cache NPM dependencies
22+
uses: actions/cache@v4
23+
with:
24+
path: node_modules
25+
key: ${{ runner.OS }}-npm-cache
26+
restore-keys: |
27+
${{ runner.OS }}-npm-cache
28+
- name: Install Dependencies
29+
run: npm install
30+
- name: Build
31+
run: npm run build
32+
- name: Upload Pages artifact
33+
uses: actions/upload-pages-artifact@v3
34+
with:
35+
path: ./public
36+
deploy:
37+
needs: build
38+
permissions:
39+
pages: write
40+
id-token: write
41+
environment:
42+
name: github-pages
43+
url: ${{ steps.deployment.outputs.page_url }}
44+
runs-on: ubuntu-latest
45+
steps:
46+
- name: Deploy to GitHub Pages
47+
id: deployment
48+
uses: actions/deploy-pages@v4

.github/workflows/hugo.yaml

Lines changed: 0 additions & 78 deletions
This file was deleted.

.gitignore

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1-
/public/*
2-
/public/
1+
.DS_Store
2+
Thumbs.db
3+
db.json
4+
*.log
5+
node_modules/
6+
public/
7+
.deploy*/
8+
_multiconfig.yml
9+
.vscode

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
# website source file
1+
# website source
2+
3+
20251114-v3
4+
5+
projects used: [hexo](https://hexo.io) and [Yue-plus/hexo-theme-arknights](https://github.com/Yue-plus/hexo-theme-arknights)

_config.arknights.yml

Lines changed: 214 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,214 @@
1+
# 标签页图标
2+
favicon:
3+
type: "image/x-icon"
4+
href: "/favicon.ico"
5+
6+
# canvas 动态背景
7+
canvas_dust: true
8+
9+
# 默认颜色模式 dark / dark-only / light / light-only / auto
10+
# dark 暗色模式
11+
# light 亮色模式
12+
# -only 锁定颜色模式
13+
# auto 跟随系统
14+
color: dark
15+
16+
build_time: false # 是否开启构建时间显示,开启后会在生成的站点配置中添加 build_time 字段,值为 UTC 时间字符串
17+
18+
# <body> 背景图片链接
19+
background_image:
20+
dark: https://ak.hypergryph.com/assets/index/images/ak/pc/bk.jpg # 暗色模式
21+
light: /img/bk.jpg # 亮色模式
22+
23+
# 导航栏
24+
menu:
25+
Home: ""
26+
About: about/
27+
# Contact: contact/
28+
Archives: archives/
29+
30+
# 侧边栏
31+
aside:
32+
in_left: false # 侧边栏在左 true / false
33+
logo: https://ak.hypergryph.com/assets/index/images/ak/pc/faction/1.png #图片链接,建议 1:1 比例
34+
logo_margin: 0 # 为 Logo 图片设置 CSS margin 属性值,参考:https://developer.mozilla.org/zh-CN/docs/Web/CSS/margin
35+
logo_border_radius: 0 # 为 Logo 图片设置 CSS border-radius 属性值,参考:https://developer.mozilla.org/zh-CN/docs/Web/CSS/border-radius
36+
dr: / # 侧边栏 Dr. 链接
37+
icp: # ICP 备案号,与版权声明相同,但会链接到 https://beian.miit.gov.cn/
38+
copyright: # 版权声明、备案号等,可自定义键值,不想显示则留空
39+
# 萌:
40+
# 萌ICP备XXXXXXXX号: https://icp.gov.moe/?keyword=XXXXXXXX
41+
# copyright:
42+
# CC BY-NC-SA 4.0: https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh
43+
44+
# 社交链接
45+
# 格式:链接 || 图标
46+
# 图标支持链接与 FontAwesome
47+
# FontAwesome 格式可用图标参考:https://fontawesome.com/icons
48+
social:
49+
GitHub: https://github.com/sysdl132 || fab fa-github
50+
# E-Mail: mailto:[email protected] || fa fa-envelope
51+
BiliBili: https://space.bilibili.com/1056024988 || fa-brands fa-bilibili
52+
# Weibo: https://weibo.com/yourname || fab fa-weibo
53+
# Zhihu: https://www.zhihu.com/people/yourname || fab fa-zhihu
54+
55+
# post 文章页面配置;true / false
56+
post:
57+
date: true # 是否显示发布日期
58+
updated: true # 是否显示修改日期
59+
excerpt: true # 是否在文章中显示摘要内容(<!-- more--> 以上的内容)
60+
# 文章末显示打赏二维码
61+
reward:
62+
# 支付宝 | Alipay: img/Alipay.png
63+
# 微信 | Wechat: img/WeChat.png
64+
# 以下两项依赖 hexo-wordcount,请参阅 README 开启
65+
count: true # 是否显示字数统计
66+
time: true # 是否显示预计阅读时长
67+
code_fold: 15 # 当代码小于等此行数时默认展开,设为 -1 则全部展开
68+
69+
# 文章内目录
70+
toc:
71+
list_number: true # true / false ;是否显示编号
72+
max_depth: 6 # 最大目录深度
73+
min_depth: 1 # 最小目录深度
74+
75+
# 归档页
76+
archives:
77+
categories_count: true # 是否显示分类总数
78+
tags_count: true # 是否显示标签总数
79+
80+
# 搜索
81+
search:
82+
enable: true
83+
content: true # 若为 false,仅可搜索标题及 metadata
84+
preload: false # 自动加载搜索数据
85+
# 设为 post 时,仅可搜索 post 页面
86+
# 设为 page 时,仅可搜索非 post 页面
87+
# 设为 all 时,可搜索全部页面
88+
field: post
89+
# 设为 html 时,依据 html 文件生成
90+
# 设为 striptags 时,滤除 html tag
91+
# 设为 raw 时,依据 markdown 源文件生成
92+
format: striptags
93+
94+
# 背景音乐
95+
bgm:
96+
enable: true
97+
autoplay: true
98+
loop: true
99+
src: /audio/bgm.mp3
100+
101+
# Vercount
102+
# 详见 https://vercount.one/
103+
vercount:
104+
enable: false
105+
sitePV: true # 站点总访问量
106+
siteUV: true # 站点访客数
107+
pagePV: true # 页面访问量
108+
109+
# Valine
110+
# 详见 https://valine.js.org
111+
valine:
112+
enable: false
113+
app_id: # APP ID
114+
app_key: # APP KEY
115+
server_url: # APP DOMAIN(LeanCloud 国际版)
116+
avatar: 'retro' # (''/mp/identicon/monsterid/wavatar/robohash/retro/hide)
117+
avatar_cdn: 'https://dn-qiniu-avatar.qbox.me/avatar/' # 自定义 avatar cdn
118+
119+
# gitalk
120+
# 详见 https://github.com/gitalk/gitalk
121+
gitalk:
122+
enable: false
123+
client_id: # GitHub 应用 Client ID
124+
client_secret: # GitHub 应用 Client Secret
125+
repo: # 用于存放评论数据的 GitHub 仓库
126+
owner: # 该 GitHub 仓库所有者
127+
admin: [] # 具有写该 GitHub 仓库权限的用户,例如: [adminA,adminB]
128+
id: location.pathname # (可选) 页面的唯一标识
129+
130+
# Waline
131+
# 详情: https://waline.js.org/
132+
waline:
133+
enable: false
134+
server_url: #Server_Url
135+
locale:
136+
placeholder: "期待您的评论~"
137+
# sofa: "来发评论吧~"
138+
# nick: "昵称"
139+
# mail: "邮箱"
140+
# link: "网址"
141+
# submit: "提交"
142+
143+
#Artalk
144+
#详见:https://artalk.js.org/
145+
artalk:
146+
enable: false
147+
server: https://artalk.server.instance/ # 你的 Artalk 服务地址
148+
site_name: My Blog # 站点名称,用于区分多个站点(可选)
149+
150+
# Utterances
151+
# 详见: https://utteranc.es
152+
utterances:
153+
enable: false
154+
repo: # Github 仓库所有者和名称
155+
issue_term: pathname # 可选值: pathname | url | title | og:title
156+
theme: github-light # 可选值: github-light | github-dark | preferred-color-scheme | github-dark-orange | icy-dark | dark-blue | photon-dark | boxy-light
157+
158+
# Giscus
159+
# 详见: https://giscus.app
160+
giscus:
161+
enable: false
162+
repo: # Github 仓库所有者和名称,例如: octocat/Hello-World
163+
repo_id: # 仓库 ID,可在 giscus 页面获取
164+
category: # discussion 分类名称
165+
category_id: # 分类 ID,可在 giscus 页面获取
166+
mapping: pathname # 页面 ↔️ discussion 映射关系,可选值: pathname | url | title | og:title | specific | number
167+
term: # 当 mapping 为 specific 时使用,指定的字符串
168+
discussion_number: # 当 mapping 为 number 时使用,指定的 discussion 号码
169+
strict: 0 # 是否启用严格标题匹配 0 | 1
170+
reactions_enabled: 1 # 是否启用主帖子上的反应 0 | 1
171+
emit_metadata: 0 # 是否输出 discussion 的元数据 0 | 1
172+
input_position: bottom # 评论输入框位置,可选值: top | bottom
173+
174+
# 主题配置 - 三种配置方式任选其一:
175+
# 方式一:使用单一主题(固定主题,不随网站主题切换)
176+
theme: preferred_color_scheme # 主题,可选值详见 README.md 或 giscus 官网
177+
178+
# 方式二:分别设置明暗主题(推荐,支持主题自动切换)
179+
# theme_light: light # 亮色模式主题
180+
# theme_dark: dark # 暗色模式主题
181+
182+
# 方式三:使用自定义 CSS(高级用法)
183+
# theme: https://your-domain.com/path/to/custom-giscus-theme.css
184+
185+
lang: zh-CN # 语言,可选值: de | en | es | fr | gsw | id | it | ja | ko | pl | ro | ru | tr | vi | zh-CN | zh-TW
186+
loading: lazy # 懒加载,可选值: lazy | 留空表示不使用懒加载
187+
crossorigin: anonymous # CORS 设置,可选值: anonymous | use-credentials | 留空
188+
189+
# 高级配置选项
190+
description: # 自定义 discussion 描述
191+
origin: # 限制域名,用于安全控制
192+
backlink: # 自定义返回链接,用于 giscus:backlink meta 标签
193+
194+
# 图表支持
195+
mermaid:
196+
enable: true
197+
version: "10.5.0"
198+
199+
# pjax 支持
200+
pjax:
201+
enable: true
202+
203+
# 公式前端渲染
204+
mathjax:
205+
enable: true
206+
version: "2.6.1"
207+
208+
# 在 `<head>` 标签内引入 CSS 样式表
209+
# 支持直接引入短片段,用 "{ }" 包裹(包括引号),例: - "{a {color: #2bf}}"
210+
stylesheets:
211+
212+
# 在 `<body>` 尾部引入 JavaScript 脚本
213+
# 支持直接引入短片段,用 "{ }" 包裹(包括引号),例: - "{var test='test'}"
214+
scripts:

0 commit comments

Comments
 (0)