Skip to content

Commit 77c7bbf

Browse files
committed
重置博客:清除历史敏感数据
0 parents  commit 77c7bbf

File tree

73 files changed

+10008
-0
lines changed

Some content is hidden

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

73 files changed

+10008
-0
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 20

.github/workflows/deploy.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
2+
name: Hexo Deploy
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: "pages"
16+
cancel-in-progress: true
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout 源码
23+
uses: actions/checkout@v4
24+
with:
25+
fetch-depth: 0
26+
27+
- name: 安装 Node.js
28+
uses: actions/setup-node@v4
29+
with:
30+
node-version: '20'
31+
cache: 'npm'
32+
33+
- name: 安装 Hexo 和依赖
34+
run: |
35+
npm install -g hexo-cli
36+
npm install
37+
38+
- name: 生成静态文件 (Hexo Generate)
39+
run: hexo generate
40+
41+
- name: 上传构建产物
42+
uses: actions/upload-pages-artifact@v3
43+
with:
44+
path: ./public
45+
46+
deploy:
47+
environment:
48+
name: github-pages
49+
url: ${{ steps.deployment.outputs.page_url }}
50+
runs-on: ubuntu-latest
51+
needs: build
52+
steps:
53+
- name: 发布到 GitHub Pages
54+
id: deployment
55+
uses: actions/deploy-pages@v4

.gitignore

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

.obsidian/app.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

.obsidian/appearance.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

.obsidian/community-plugins.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[
2+
"obsidian-git"
3+
]

.obsidian/core-plugins.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"file-explorer": true,
3+
"global-search": true,
4+
"switcher": true,
5+
"graph": true,
6+
"backlink": true,
7+
"canvas": true,
8+
"outgoing-link": true,
9+
"tag-pane": true,
10+
"footnotes": false,
11+
"properties": true,
12+
"page-preview": true,
13+
"daily-notes": true,
14+
"templates": true,
15+
"note-composer": true,
16+
"command-palette": true,
17+
"slash-command": false,
18+
"editor-status": true,
19+
"bookmarks": true,
20+
"markdown-importer": false,
21+
"zk-prefixer": false,
22+
"random-note": false,
23+
"outline": true,
24+
"word-count": true,
25+
"slides": false,
26+
"audio-recorder": false,
27+
"workspaces": false,
28+
"file-recovery": true,
29+
"publish": false,
30+
"sync": true,
31+
"bases": true,
32+
"webviewer": false
33+
}

.obsidian/hotkeys.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"obsidian-git:push": [
3+
{
4+
"modifiers": [
5+
"Alt",
6+
"Mod",
7+
"Meta"
8+
],
9+
"key": "S"
10+
}
11+
]
12+
}
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"commitMessage": "vault backup: {{date}}",
3+
"autoCommitMessage": "vault backup: {{date}}",
4+
"commitMessageScript": "",
5+
"commitDateFormat": "YYYY-MM-DD HH:mm:ss",
6+
"autoSaveInterval": 0,
7+
"autoPushInterval": 0,
8+
"autoPullInterval": 0,
9+
"autoPullOnBoot": false,
10+
"autoCommitOnlyStaged": false,
11+
"disablePush": false,
12+
"pullBeforePush": true,
13+
"disablePopups": false,
14+
"showErrorNotices": true,
15+
"disablePopupsForNoChanges": false,
16+
"listChangedFilesInMessageBody": false,
17+
"showStatusBar": true,
18+
"updateSubmodules": false,
19+
"syncMethod": "merge",
20+
"customMessageOnAutoBackup": false,
21+
"autoBackupAfterFileChange": false,
22+
"treeStructure": false,
23+
"refreshSourceControl": true,
24+
"basePath": "",
25+
"differentIntervalCommitAndPush": false,
26+
"changedFilesInStatusBar": false,
27+
"showedMobileNotice": true,
28+
"refreshSourceControlTimer": 7000,
29+
"showBranchStatusBar": true,
30+
"setLastSaveToLastCommit": false,
31+
"submoduleRecurseCheckout": false,
32+
"gitDir": "",
33+
"showFileMenu": true,
34+
"authorInHistoryView": "hide",
35+
"dateInHistoryView": false,
36+
"diffStyle": "split",
37+
"lineAuthor": {
38+
"show": false,
39+
"followMovement": "inactive",
40+
"authorDisplay": "initials",
41+
"showCommitHash": false,
42+
"dateTimeFormatOptions": "date",
43+
"dateTimeFormatCustomString": "YYYY-MM-DD HH:mm",
44+
"dateTimeTimezone": "viewer-local",
45+
"coloringMaxAge": "1y",
46+
"colorNew": {
47+
"r": 255,
48+
"g": 150,
49+
"b": 150
50+
},
51+
"colorOld": {
52+
"r": 120,
53+
"g": 160,
54+
"b": 255
55+
},
56+
"textColorCss": "var(--text-muted)",
57+
"ignoreWhitespace": false,
58+
"gutterSpacingFallbackLength": 5,
59+
"lastShownAuthorDisplay": "initials",
60+
"lastShownDateTimeFormatOptions": "date"
61+
}
62+
}

.obsidian/plugins/obsidian-git/main.js

Lines changed: 426 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)