From 5f7de5f142165220a49265c69654f8ec18b61d01 Mon Sep 17 00:00:00 2001
From: WncFht <2130212584@qq.com>
Date: Wed, 4 Dec 2024 12:17:35 +0800
Subject: [PATCH] vault backup: 2024-12-04 12:17:35
---
.github/workflows/hugo.yaml | 78 ++++++
.gitmodules | 3 +
archetypes/default.md | 5 +
assets/css/extended/blank.css | 6 +
.../css/extended/chroma-styles-overrides.css | 175 +++++++++++++
assets/css/extended/home.css | 48 ++++
content/.trash/2024-49-12-04-3.md | 61 +++++
content/.trash/2024m12d4h11m24s54.md | 7 +
.../2024-49-12-04-3.md" | 1 +
content/about.md | 8 +
content/archives.md | 6 +
content/posts/2024-49-12-03-2.md | 61 +++++
content/posts/2024-49-12-04-3.md | 63 +++++
content/posts/test copy.md | 8 +
content/posts/test.md | 19 ++
content/posts/test2.md | 8 +
content/search.md | 6 +
hugo.yaml | 112 ++++++++
hugo_stats.json | 50 ++++
layouts/_default/about.html | 17 ++
layouts/partials/comments.html | 48 ++++
layouts/partials/extended_head.html | 9 +
layouts/partials/footer.html | 247 ++++++++++++++++++
layouts/partials/mathjax.html | 35 +++
24 files changed, 1081 insertions(+)
create mode 100644 .github/workflows/hugo.yaml
create mode 100644 .gitmodules
create mode 100644 archetypes/default.md
create mode 100644 assets/css/extended/blank.css
create mode 100644 assets/css/extended/chroma-styles-overrides.css
create mode 100644 assets/css/extended/home.css
create mode 100644 content/.trash/2024-49-12-04-3.md
create mode 100644 content/.trash/2024m12d4h11m24s54.md
create mode 100644 "content/.trash/\346\227\245\350\256\260/2024-49-12-04-3.md"
create mode 100644 content/about.md
create mode 100644 content/archives.md
create mode 100644 content/posts/2024-49-12-03-2.md
create mode 100644 content/posts/2024-49-12-04-3.md
create mode 100644 content/posts/test copy.md
create mode 100644 content/posts/test.md
create mode 100644 content/posts/test2.md
create mode 100644 content/search.md
create mode 100644 hugo.yaml
create mode 100644 hugo_stats.json
create mode 100644 layouts/_default/about.html
create mode 100644 layouts/partials/comments.html
create mode 100644 layouts/partials/extended_head.html
create mode 100644 layouts/partials/footer.html
create mode 100644 layouts/partials/mathjax.html
diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml
new file mode 100644
index 0000000..c9f1453
--- /dev/null
+++ b/.github/workflows/hugo.yaml
@@ -0,0 +1,78 @@
+# Sample workflow for building and deploying a Hugo site to GitHub Pages
+name: Deploy Hugo site to Pages
+
+on:
+ # Runs on pushes targeting the default branch
+ push:
+ branches:
+ - main
+
+ # Allows you to run this workflow manually from the Actions tab
+ workflow_dispatch:
+
+# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
+permissions:
+ contents: read
+ pages: write
+ id-token: write
+
+# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
+# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
+concurrency:
+ group: "pages"
+ cancel-in-progress: false
+
+# Default to bash
+defaults:
+ run:
+ shell: bash
+
+jobs:
+ # Build job
+ build:
+ runs-on: ubuntu-latest
+ env:
+ HUGO_VERSION: 0.138.0
+ steps:
+ - name: Install Hugo CLI
+ run: |
+ wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
+ && sudo dpkg -i ${{ runner.temp }}/hugo.deb
+ # - name: Install Dart Sass
+ # run: sudo snap install dart-sass
+ - name: Checkout
+ uses: actions/checkout@v4
+ with:
+ submodules: recursive
+ fetch-depth: 0
+ - name: Setup Pages
+ id: pages
+ uses: actions/configure-pages@v5
+ - name: Install Node.js dependencies
+ run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
+ - name: Build with Hugo
+ env:
+ HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
+ HUGO_ENVIRONMENT: production
+ TZ: America/Los_Angeles
+ run: |
+ hugo \
+ --gc \
+ --minify \
+ --baseURL "${{ steps.pages.outputs.base_url }}/"
+ - name: Upload artifact
+ uses: actions/upload-pages-artifact@v3
+ with:
+ path: ./public
+
+ # Deployment job
+ deploy:
+ environment:
+ name: github-pages
+ url: ${{ steps.deployment.outputs.page_url }}
+ runs-on: ubuntu-latest
+ needs: build
+ steps:
+ - name: Deploy to GitHub Pages
+ id: deployment
+ uses: actions/deploy-pages@v4
\ No newline at end of file
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..c773399
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "themes/PaperMod"]
+ path = themes/PaperMod
+ url = git@github.com:adityatelange/hugo-PaperMod.git
diff --git a/archetypes/default.md b/archetypes/default.md
new file mode 100644
index 0000000..0d5eebd
--- /dev/null
+++ b/archetypes/default.md
@@ -0,0 +1,5 @@
+---
+date: '{{ .Date }}'
+draft: true
+title: '{{ replace .File.ContentBaseName "-" " " | title }}'
+---
diff --git a/assets/css/extended/blank.css b/assets/css/extended/blank.css
new file mode 100644
index 0000000..74d8347
--- /dev/null
+++ b/assets/css/extended/blank.css
@@ -0,0 +1,6 @@
+.post-content pre,
+code {
+ font-family: "JetBrains Mono", monospace;
+ font-size: 1rem;
+ line-height: 1.2;
+}
\ No newline at end of file
diff --git a/assets/css/extended/chroma-styles-overrides.css b/assets/css/extended/chroma-styles-overrides.css
new file mode 100644
index 0000000..6006942
--- /dev/null
+++ b/assets/css/extended/chroma-styles-overrides.css
@@ -0,0 +1,175 @@
+/* Background */ .bg { color:#3760bf;background-color:#e1e2e7; }
+/* PreWrapper */ .chroma { color:#3760bf;background-color:#e1e2e7; }
+/* Other */ .chroma .x { color: #000 }
+/* Error */ .chroma .err { color:#c64343 }
+/* CodeLine */ .chroma .cl { color: #000 }
+/* LineLink */ .chroma .lnlinks { outline:none;text-decoration:none;color:inherit }
+/* LineTableTD */ .chroma .lntd { vertical-align:top;padding:0;margin:0;border:0; }
+/* LineTable */ .chroma .lntable { border-spacing:0;padding:0;margin:0;border:0; }
+/* LineHighlight */ .chroma .hl { background-color:#a1a6c5 }
+/* LineNumbersTable */ .chroma .lnt { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#6172b0 }
+/* LineNumbers */ .chroma .ln { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#6172b0 }
+/* Line */ .chroma .line { display:flex; }
+/* Keyword */ .chroma .k { color:#9854f1 }
+/* KeywordConstant */ .chroma .kc { color:#8c6c3e }
+/* KeywordDeclaration */ .chroma .kd { color:#9d7cd8 }
+/* KeywordNamespace */ .chroma .kn { color:#007197 }
+/* KeywordPseudo */ .chroma .kp { color:#9854f1 }
+/* KeywordReserved */ .chroma .kr { color:#9854f1 }
+/* KeywordType */ .chroma .kt { color:#0db9d7 }
+/* Name */ .chroma .n { color: #000 }
+/* NameAttribute */ .chroma .na { color:#2e7de9 }
+/* NameBuiltin */ .chroma .nb { color:#587539 }
+/* NameBuiltinPseudo */ .chroma .bp { color:#587539 }
+/* NameClass */ .chroma .nc { color:#b15c00 }
+/* NameConstant */ .chroma .no { color:#b15c00 }
+/* NameDecorator */ .chroma .nd { color:#2e7de9;font-weight:bold }
+/* NameEntity */ .chroma .ni { color:#007197 }
+/* NameException */ .chroma .ne { color:#8c6c3e }
+/* NameFunction */ .chroma .nf { color:#2e7de9 }
+/* NameFunctionMagic */ .chroma .fm { color:#2e7de9 }
+/* NameLabel */ .chroma .nl { color:#587539 }
+/* NameNamespace */ .chroma .nn { color:#8c6c3e }
+/* NameOther */ .chroma .nx { color: #000 }
+/* NameProperty */ .chroma .py { color:#8c6c3e }
+/* NameTag */ .chroma .nt { color:#9854f1 }
+/* NameVariable */ .chroma .nv { color: #000 }
+/* NameVariableClass */ .chroma .vc { color: #000 }
+/* NameVariableGlobal */ .chroma .vg { color: #000 }
+/* NameVariableInstance */ .chroma .vi { color: #000 }
+/* NameVariableMagic */ .chroma .vm { color: #000 }
+/* Literal */ .chroma .l { color: #000 }
+/* LiteralDate */ .chroma .ld { color: #000 }
+/* LiteralString */ .chroma .s { color:#587539 }
+/* LiteralStringAffix */ .chroma .sa { color:#9d7cd8 }
+/* LiteralStringBacktick */ .chroma .sb { color:#587539 }
+/* LiteralStringChar */ .chroma .sc { color:#587539 }
+/* LiteralStringDelimiter */ .chroma .dl { color:#2e7de9 }
+/* LiteralStringDoc */ .chroma .sd { color:#a1a6c5 }
+/* LiteralStringDouble */ .chroma .s2 { color:#587539 }
+/* LiteralStringEscape */ .chroma .se { color:#2e7de9 }
+/* LiteralStringHeredoc */ .chroma .sh { color:#a1a6c5 }
+/* LiteralStringInterpol */ .chroma .si { color:#587539 }
+/* LiteralStringOther */ .chroma .sx { color:#587539 }
+/* LiteralStringRegex */ .chroma .sr { color:#007197 }
+/* LiteralStringSingle */ .chroma .s1 { color:#587539 }
+/* LiteralStringSymbol */ .chroma .ss { color:#587539 }
+/* LiteralNumber */ .chroma .m { color:#8c6c3e }
+/* LiteralNumberBin */ .chroma .mb { color:#8c6c3e }
+/* LiteralNumberFloat */ .chroma .mf { color:#8c6c3e }
+/* LiteralNumberHex */ .chroma .mh { color:#8c6c3e }
+/* LiteralNumberInteger */ .chroma .mi { color:#8c6c3e }
+/* LiteralNumberIntegerLong */ .chroma .il { color:#8c6c3e }
+/* LiteralNumberOct */ .chroma .mo { color:#8c6c3e }
+/* Operator */ .chroma .o { color:#587539;font-weight:bold }
+/* OperatorWord */ .chroma .ow { color:#587539;font-weight:bold }
+/* Punctuation */ .chroma .p { color: #000 }
+/* Comment */ .chroma .c { color:#a1a6c5;font-style:italic }
+/* CommentHashbang */ .chroma .ch { color:#a1a6c5;font-style:italic }
+/* CommentMultiline */ .chroma .cm { color:#a1a6c5;font-style:italic }
+/* CommentSingle */ .chroma .c1 { color:#a1a6c5;font-style:italic }
+/* CommentSpecial */ .chroma .cs { color:#a1a6c5;font-style:italic }
+/* CommentPreproc */ .chroma .cp { color:#a1a6c5;font-style:italic }
+/* CommentPreprocFile */ .chroma .cpf { color:#a1a6c5;font-weight:bold;font-style:italic }
+/* Generic */ .chroma .g { color: #000 }
+/* GenericDeleted */ .chroma .gd { color:#c64343;background-color:#e9e9ed }
+/* GenericEmph */ .chroma .ge { font-style:italic }
+/* GenericError */ .chroma .gr { color:#c64343 }
+/* GenericHeading */ .chroma .gh { color:#8c6c3e;font-weight:bold }
+/* GenericInserted */ .chroma .gi { color:#587539;background-color:#e9e9ed }
+/* GenericOutput */ .chroma .go { color: #000 }
+/* GenericPrompt */ .chroma .gp { color: #000 }
+/* GenericStrong */ .chroma .gs { font-weight:bold }
+/* GenericSubheading */ .chroma .gu { color:#8c6c3e;font-weight:bold }
+/* GenericTraceback */ .chroma .gt { color:#c64343 }
+/* GenericUnderline */ .chroma .gl { text-decoration:underline }
+/* TextWhitespace */ .chroma .w { color: #000 }
+
+.dark {
+ /* Background */ .bg { color:#e6edf3;background-color:#0d1117; }
+ /* PreWrapper */ .chroma { color:#e6edf3;background-color:#0d1117; }
+ /* Other */ .chroma .x { color: #fff }
+ /* Error */ .chroma .err { color:#f85149 }
+ /* CodeLine */ .chroma .cl { color: #fff }
+ /* LineLink */ .chroma .lnlinks { outline:none;text-decoration:none;color:inherit }
+ /* LineTableTD */ .chroma .lntd { vertical-align:top;padding:0;margin:0;border:0; }
+ /* LineTable */ .chroma .lntable { border-spacing:0;padding:0;margin:0;border:0; }
+ /* LineHighlight */ .chroma .hl { background-color:#6e7681 }
+ /* LineNumbersTable */ .chroma .lnt { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#737679 }
+ /* LineNumbers */ .chroma .ln { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#6e7681 }
+ /* Line */ .chroma .line { display:flex; }
+ /* Keyword */ .chroma .k { color:#ff7b72 }
+ /* KeywordConstant */ .chroma .kc { color:#79c0ff }
+ /* KeywordDeclaration */ .chroma .kd { color:#ff7b72 }
+ /* KeywordNamespace */ .chroma .kn { color:#ff7b72 }
+ /* KeywordPseudo */ .chroma .kp { color:#79c0ff }
+ /* KeywordReserved */ .chroma .kr { color:#ff7b72 }
+ /* KeywordType */ .chroma .kt { color:#ff7b72 }
+ /* Name */ .chroma .n { color: #fff }
+ /* NameAttribute */ .chroma .na { color: #fff }
+ /* NameBuiltin */ .chroma .nb { color: #fff }
+ /* NameBuiltinPseudo */ .chroma .bp { color: #fff }
+ /* NameClass */ .chroma .nc { color:#f0883e;font-weight:bold }
+ /* NameConstant */ .chroma .no { color:#79c0ff;font-weight:bold }
+ /* NameDecorator */ .chroma .nd { color:#d2a8ff;font-weight:bold }
+ /* NameEntity */ .chroma .ni { color:#ffa657 }
+ /* NameException */ .chroma .ne { color:#f0883e;font-weight:bold }
+ /* NameFunction */ .chroma .nf { color:#d2a8ff;font-weight:bold }
+ /* NameFunctionMagic */ .chroma .fm { color: #fff }
+ /* NameLabel */ .chroma .nl { color:#79c0ff;font-weight:bold }
+ /* NameNamespace */ .chroma .nn { color:#ff7b72 }
+ /* NameOther */ .chroma .nx { color: #fff }
+ /* NameProperty */ .chroma .py { color:#79c0ff }
+ /* NameTag */ .chroma .nt { color:#7ee787 }
+ /* NameVariable */ .chroma .nv { color:#79c0ff }
+ /* NameVariableClass */ .chroma .vc { color: #fff }
+ /* NameVariableGlobal */ .chroma .vg { color: #fff }
+ /* NameVariableInstance */ .chroma .vi { color: #fff }
+ /* NameVariableMagic */ .chroma .vm { color: #fff }
+ /* Literal */ .chroma .l { color:#a5d6ff }
+ /* LiteralDate */ .chroma .ld { color:#79c0ff }
+ /* LiteralString */ .chroma .s { color:#a5d6ff }
+ /* LiteralStringAffix */ .chroma .sa { color:#79c0ff }
+ /* LiteralStringBacktick */ .chroma .sb { color:#a5d6ff }
+ /* LiteralStringChar */ .chroma .sc { color:#a5d6ff }
+ /* LiteralStringDelimiter */ .chroma .dl { color:#79c0ff }
+ /* LiteralStringDoc */ .chroma .sd { color:#a5d6ff }
+ /* LiteralStringDouble */ .chroma .s2 { color:#a5d6ff }
+ /* LiteralStringEscape */ .chroma .se { color:#79c0ff }
+ /* LiteralStringHeredoc */ .chroma .sh { color:#79c0ff }
+ /* LiteralStringInterpol */ .chroma .si { color:#a5d6ff }
+ /* LiteralStringOther */ .chroma .sx { color:#a5d6ff }
+ /* LiteralStringRegex */ .chroma .sr { color:#79c0ff }
+ /* LiteralStringSingle */ .chroma .s1 { color:#a5d6ff }
+ /* LiteralStringSymbol */ .chroma .ss { color:#a5d6ff }
+ /* LiteralNumber */ .chroma .m { color:#a5d6ff }
+ /* LiteralNumberBin */ .chroma .mb { color:#a5d6ff }
+ /* LiteralNumberFloat */ .chroma .mf { color:#a5d6ff }
+ /* LiteralNumberHex */ .chroma .mh { color:#a5d6ff }
+ /* LiteralNumberInteger */ .chroma .mi { color:#a5d6ff }
+ /* LiteralNumberIntegerLong */ .chroma .il { color:#a5d6ff }
+ /* LiteralNumberOct */ .chroma .mo { color:#a5d6ff }
+ /* Operator */ .chroma .o { color:#ff7b72;font-weight:bold }
+ /* OperatorWord */ .chroma .ow { color:#ff7b72;font-weight:bold }
+ /* Punctuation */ .chroma .p { color: #fff }
+ /* Comment */ .chroma .c { color:#8b949e;font-style:italic }
+ /* CommentHashbang */ .chroma .ch { color:#8b949e;font-style:italic }
+ /* CommentMultiline */ .chroma .cm { color:#8b949e;font-style:italic }
+ /* CommentSingle */ .chroma .c1 { color:#8b949e;font-style:italic }
+ /* CommentSpecial */ .chroma .cs { color:#8b949e;font-weight:bold;font-style:italic }
+ /* CommentPreproc */ .chroma .cp { color:#8b949e;font-weight:bold;font-style:italic }
+ /* CommentPreprocFile */ .chroma .cpf { color:#8b949e;font-weight:bold;font-style:italic }
+ /* Generic */ .chroma .g { color: #fff }
+ /* GenericDeleted */ .chroma .gd { color:#ffa198;background-color:#490202 }
+ /* GenericEmph */ .chroma .ge { font-style:italic }
+ /* GenericError */ .chroma .gr { color:#ffa198 }
+ /* GenericHeading */ .chroma .gh { color:#79c0ff;font-weight:bold }
+ /* GenericInserted */ .chroma .gi { color:#56d364;background-color:#0f5323 }
+ /* GenericOutput */ .chroma .go { color:#8b949e }
+ /* GenericPrompt */ .chroma .gp { color:#8b949e }
+ /* GenericStrong */ .chroma .gs { font-weight:bold }
+ /* GenericSubheading */ .chroma .gu { color:#79c0ff }
+ /* GenericTraceback */ .chroma .gt { color:#ff7b72 }
+ /* GenericUnderline */ .chroma .gl { text-decoration:underline }
+ /* TextWhitespace */ .chroma .w { color:#6e7681 }
+ }
\ No newline at end of file
diff --git a/assets/css/extended/home.css b/assets/css/extended/home.css
new file mode 100644
index 0000000..277c6f7
--- /dev/null
+++ b/assets/css/extended/home.css
@@ -0,0 +1,48 @@
+悬浮动画
+/* 左上角logo悬浮动画 */
+.logo a:hover {
+ transition: 0.15s;
+ color: grey;
+ }
+
+/* 首页icon悬浮动画 */
+svg:hover {
+ transition: 0.15s;
+ transform: scaleX(1.1) scaleY(1.1);
+}
+
+.social-icons a svg:hover{
+ color: #ffbb3d !important;
+
+}
+/* 模式切换按钮悬浮动画 */
+#moon:hover {
+ transition: 0.15s;
+ color: deepskyblue;
+}
+
+#sun:hover {
+ transition: 0.15s;
+ color: gold;
+}
+/* 菜单栏文字悬浮动画 */
+#menu a:hover {
+ transition: 0.15s;
+ color: grey;
+}
+
+/* 首页信息居中 */
+.first-entry .entry-header {
+ align-self: center;
+}
+.home-info .entry-content {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+}
+.first-entry .entry-footer {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
\ No newline at end of file
diff --git a/content/.trash/2024-49-12-04-3.md b/content/.trash/2024-49-12-04-3.md
new file mode 100644
index 0000000..0ac6a29
--- /dev/null
+++ b/content/.trash/2024-49-12-04-3.md
@@ -0,0 +1,61 @@
+---
+title : 2024-49-04-11-3
+date : 2024-49-04-11-3
+categories : ["日记"]
+tags : ["日记"]
+---
+
+# 2024-49-04-11-3
+
+## 1. 计划
+
+### 🌅 早晨
+
+#### 计划
+
+#### 复盘
+
+---
+
+### ☀️ 下午
+
+#### 计划
+
+#### 复盘
+
+---
+
+### 🌇 晚上
+
+#### 计划
+
+#### 复盘
+
+---
+
+## 2. 笔记索引
+
+```dataview
+LIST FROM ""
+WHERE file.cday = date("2024-12-04")
+```
+
+---
+
+## 3. 资源与链接
+
+---
+
+## 4. 未完成的任务
+
+```dataview
+TASK FROM "dairy"
+WHERE !completed
+ AND file.cday >= (this.file.cday - dur(7 days))
+ AND file.cday <= this.file.cday
+SORT file.cday DESC
+```
+
+---
+
+## 5. 反思
diff --git a/content/.trash/2024m12d4h11m24s54.md b/content/.trash/2024m12d4h11m24s54.md
new file mode 100644
index 0000000..2f34b75
--- /dev/null
+++ b/content/.trash/2024m12d4h11m24s54.md
@@ -0,0 +1,7 @@
+---
+title: {{title}}
+date: {{date:YYYY-MM-DD}}
+tags: [默认标签]
+status: 未开始
+priority: 中
+---
diff --git "a/content/.trash/\346\227\245\350\256\260/2024-49-12-04-3.md" "b/content/.trash/\346\227\245\350\256\260/2024-49-12-04-3.md"
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ "b/content/.trash/\346\227\245\350\256\260/2024-49-12-04-3.md"
@@ -0,0 +1 @@
+
diff --git a/content/about.md b/content/about.md
new file mode 100644
index 0000000..a861ac4
--- /dev/null
+++ b/content/about.md
@@ -0,0 +1,8 @@
+---
+title: "关于"
+layout: "about"
+url: "/about/"
+summary: about
+---
+
+你好,这是 Wnc 的主页
diff --git a/content/archives.md b/content/archives.md
new file mode 100644
index 0000000..77f5997
--- /dev/null
+++ b/content/archives.md
@@ -0,0 +1,6 @@
+---
+title: "归档"
+layout: "archives"
+url: "/archives/"
+summary: archives
+---
diff --git a/content/posts/2024-49-12-03-2.md b/content/posts/2024-49-12-03-2.md
new file mode 100644
index 0000000..40943d6
--- /dev/null
+++ b/content/posts/2024-49-12-03-2.md
@@ -0,0 +1,61 @@
+---
+title : 2024-49-03-12-2
+date : 2024-12-03T12:07:01+08:00
+categories : ["日记"]
+tags : ["日记"]
+---
+
+# 2024-49-03-12-2
+
+## 1. 计划
+
+### 🌅 早晨
+
+#### 计划
+
+#### 复盘
+
+---
+
+### ☀️ 下午
+
+#### 计划
+
+#### 复盘
+
+---
+
+### 🌇 晚上
+
+#### 计划
+
+#### 复盘
+
+---
+
+## 2. 笔记索引
+
+```dataview
+LIST FROM ""
+WHERE file.cday = date("2024-12-03")
+```
+
+---
+
+## 3. 资源与链接
+
+---
+
+## 4. 未完成的任务
+
+```dataview
+TASK FROM "dairy"
+WHERE !completed
+ AND file.cday >= (this.file.cday - dur(7 days))
+ AND file.cday <= this.file.cday
+SORT file.cday DESC
+```
+
+---
+
+## 5. 反思
diff --git a/content/posts/2024-49-12-04-3.md b/content/posts/2024-49-12-04-3.md
new file mode 100644
index 0000000..93fffc7
--- /dev/null
+++ b/content/posts/2024-49-12-04-3.md
@@ -0,0 +1,63 @@
+---
+title : 2024-49-04-12-3
+date : 2024-12-04T12:01:38+08:00
+categories : ["日记"]
+tags : ["日记"]
+---
+
+# 2024-49-04-12-3
+
+## 1. 计划
+
+### 🌅 早晨
+
+#### 计划
+
+#### 复盘
+
+---
+
+### ☀️ 下午
+
+#### 计划
+
+- [ ] test
+
+#### 复盘
+
+---
+
+### 🌇 晚上
+
+#### 计划
+
+#### 复盘
+
+---
+
+## 2. 笔记索引
+
+```dataview
+LIST FROM ""
+WHERE file.cday = date("2024-12-04")
+```
+
+---
+
+## 3. 资源与链接
+
+---
+
+## 4. 未完成的任务
+
+```dataview
+TASK FROM "dairy"
+WHERE !completed
+ AND file.cday >= (this.file.cday - dur(7 days))
+ AND file.cday <= this.file.cday
+SORT file.cday DESC
+```
+
+---
+
+## 5. 反思
diff --git a/content/posts/test copy.md b/content/posts/test copy.md
new file mode 100644
index 0000000..0dfe7fc
--- /dev/null
+++ b/content/posts/test copy.md
@@ -0,0 +1,8 @@
+---
+title : test2
+date : 2024-08-04T03:25:53+08:00
+categories : ["通用技术"]
+tags : ["博客搭建", "Bilibili"]
+---
+
+尝试一下
diff --git a/content/posts/test.md b/content/posts/test.md
new file mode 100644
index 0000000..dda1733
--- /dev/null
+++ b/content/posts/test.md
@@ -0,0 +1,19 @@
+---
+title : 'Hugo + PaperMod + Github Pages 搭建一个完善的个人博客(以 Windows11 为例)'
+date : 2024-08-04T03:25:53+08:00
+categories : ["通用技术"]
+tags : ["博客搭建", "Bilibili"]
+---
+
+nihao
+
+```python
+print('ABC')
+print('ABC')
+print('ABC')
+print('ABC')
+print('ABC')
+print('ABC')
+print('ABC')
+print('ABC')
+```
diff --git a/content/posts/test2.md b/content/posts/test2.md
new file mode 100644
index 0000000..ebd879a
--- /dev/null
+++ b/content/posts/test2.md
@@ -0,0 +1,8 @@
+---
+title : 'test2'
+date : 2024-08-05T03:25:53+08:00
+categories : ["通用技术"]
+tags : ["博客搭建", "Bilibili"]
+---
+
+nihao
diff --git a/content/search.md b/content/search.md
new file mode 100644
index 0000000..07727e2
--- /dev/null
+++ b/content/search.md
@@ -0,0 +1,6 @@
+---
+title: "搜索" # in any language you want
+layout: "search" # necessary for search
+summary: "search"
+placeholder: "搜索"
+---
diff --git a/hugo.yaml b/hugo.yaml
new file mode 100644
index 0000000..7a64845
--- /dev/null
+++ b/hugo.yaml
@@ -0,0 +1,112 @@
+baseURL: "https://WncFht.github.io/" # 主站的 URL
+title: WncFht's Blog # 站点标题
+copyright: "[©2024 WncFht's Blog](https://WncFht.github.io/)" # 网站的版权声明,通常显示在页脚
+theme: PaperMod # 主题
+languageCode: zh-cn # 语言
+
+enableInlineShortcodes: true # shortcode,类似于模板变量,可以在写 markdown 的时候便捷地插入,官方文档中有一个视频讲的很通俗
+hasCJKLanguage: true # 是否有 CJK 的字符
+enableRobotsTXT: true # 允许生成 robots.txt
+buildDrafts: false # 构建时是否包括草稿
+buildFuture: false # 构建未来发布的内容
+buildExpired: false # 构建过期的内容
+enableEmoji: true # 允许 emoji
+pygmentsUseClasses: true
+defaultContentLanguage: zh # 顶部首先展示的语言界面
+defaultContentLanguageInSubdir: false # 是否要在地址栏加上默认的语言代码
+
+languages:
+ zh:
+ languageName: "中文" # 展示的语言名
+ weight: 1 # 权重
+ taxonomies: # 分类系统
+ category: categories
+ tag: tags
+ # https://gohugo.io/content-management/menus/#define-in-site-configuration
+ menus:
+ main:
+ - name: 首页
+ pageRef: /
+ weight: 10 # 控制在页面上展示的前后顺序
+ - name: 归档
+ pageRef: archives/
+ weight: 20
+ - name: 分类
+ pageRef: categories/
+ weight: 30
+ - name: 搜索
+ pageRef: search/
+ weight: 40
+ - name: 关于
+ pageRef: about/
+ weight: 50
+# https://github.com/adityatelange/hugo-PaperMod/wiki/Features#search-page
+
+outputs:
+ home:
+ - HTML # 生成的静态页面
+ - RSS # 这个其实无所谓
+ - JSON # necessary for search, 这里的配置修改好之后,一定要重新生成一下
+
+params:
+ title: "xxx's blog" # 首页标题
+ description: "xxx" # 页面描述
+ keywords: [Blog, xxx] # 首页的关键词
+ author: xxx # 文章中默认显示的作者名字
+ DateFormat: "2006-01-02" # 将时间格式修改为国内常用格式
+ showtoc: true # 在每篇文章开头显示目录
+ # 代码块功能
+ ShowMacDots: true # Mac色块
+ ShowCodeLang: true # 语言显示
+ ShowExpandButton: true # 代码块折叠
+ ShowCodeCopyButtons: true # 代码块复制按钮
+ codeMaxHeight: "100px" # 代码块最大折叠高度
+ # 搜索
+ fuseOpts:
+ # DateFormat: "2006-01-02" # 日期格式化
+ # ShowFullTextinRSS: true # RSS 输出全文
+ isCaseSensitive: false # 是否大小写敏感
+ shouldSort: true # 是否排序
+ location: 0
+ distance: 1000
+ threshold: 0.4
+ minMatchCharLength: 0
+ # limit: 10 # refer: https://www.fusejs.io/api/methods.html#search
+ keys: ["title", "permalink", "summary", "content"]
+ includeMatches: true
+markup:
+ goldmark:
+ renderer:
+ unsafe: true # 可以 unsafe,有些 html 标签和样式可能需要
+ highlight:
+ anchorLineNos: false # 不要给行号设置锚标
+ codeFences: true # 代码围栏
+ noClasses: false # TODO: 不知道干啥的,暂时没必要了解,不影响展示
+ lineNos: true # 代码行
+ lineNumbersInTable: false # 不要设置成 true,否则如果文章开头是代码的话,摘要会由一大堆数字(即代码行号)开头文章
+ # 这里设置 style 没用,得自己加 css
+ # style: "github-dark"
+ # style: monokai
+
+profileMode:
+ enabled: true # needs to be explicitly set
+ title: "xxx's blog"
+ subtitle: "This is subtitle"
+ imageUrl: ""
+ imageWidth: 120
+ imageHeight: 120
+ imageTitle: my image
+ buttons:
+ - name: Posts
+ url: posts
+ - name: Tags
+ url: tags
+homeInfoParams:
+ Title: "xxx"
+ Content: xxx
+
+socialIcons:
+ - name: github
+ url: "https://github.com/WncFht" # 个人Github地址
+ - name: email
+ url: "mailto://fanghaotian@sjtu.edu.cn" # 个人邮箱
\ No newline at end of file
diff --git a/hugo_stats.json b/hugo_stats.json
new file mode 100644
index 0000000..c11c821
--- /dev/null
+++ b/hugo_stats.json
@@ -0,0 +1,50 @@
+{
+ "htmlElements": {
+ "tags": [
+ "a",
+ "body",
+ "button",
+ "circle",
+ "div",
+ "h1",
+ "head",
+ "header",
+ "html",
+ "li",
+ "line",
+ "link",
+ "main",
+ "meta",
+ "nav",
+ "noscript",
+ "p",
+ "path",
+ "script",
+ "span",
+ "style",
+ "svg",
+ "title",
+ "ul"
+ ],
+ "classes": [
+ "active",
+ "header",
+ "list",
+ "logo",
+ "logo-switches",
+ "main",
+ "nav",
+ "not-found",
+ "page-header",
+ "post-content",
+ "terms-tags"
+ ],
+ "ids": [
+ "menu",
+ "moon",
+ "sun",
+ "theme-toggle",
+ "top"
+ ]
+ }
+}
diff --git a/layouts/_default/about.html b/layouts/_default/about.html
new file mode 100644
index 0000000..83f3ec3
--- /dev/null
+++ b/layouts/_default/about.html
@@ -0,0 +1,17 @@
+{{- define "main" }}
+
+{{ .Title }}
+ {{- if .Description }}
+
+ {{ .Content }}
+