diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index e0078e4..c9f1453 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -38,8 +38,8 @@ jobs: 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: Install Dart Sass + # run: sudo snap install dart-sass - name: Checkout uses: actions/checkout@v4 with: diff --git a/hugo.yaml b/hugo.yaml index 0ea6166..a54f86c 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -44,12 +44,27 @@ languages: pageRef: about/ weight: 21 # https://github.com/adityatelange/hugo-PaperMod/wiki/Features#search-page + outputs: home: - HTML # 生成的静态页面 - RSS # 这个其实无所谓 - JSON # necessary for search, 这里的配置修改好之后,一定要重新生成一下 params: + giscus: + repo: "WncFht/WncFht.github.io" + repoId: "R_kgDONNHiog" + category: "General" + categoryId: "DIC_kwDONNHios4CkJLc" + mapping: "pathname" + strict: "0" + reactionsEnabled: "1" + emitMetadata: "0" + inputPosition: "bottom" + lightTheme: "light" + darkTheme: "dark" + lang: "zh-CN" + crossorigin: "anonymous" assets: disableHLJS: true # 搜索 diff --git a/public/categories/index.xml b/public/categories/index.xml index 717d695..f4dcb00 100644 --- a/public/categories/index.xml +++ b/public/categories/index.xml @@ -1,19 +1,19 @@ - + Categories on WncFht's Blog - https://WncFht.github.io/categories/ + http://localhost:1313/categories/ Recent content in Categories on WncFht's Blog - Hugo -- 0.138.0 + Hugo -- gohugo.io zh - ©2024 WncFht&rsquo;s Blog + [©2024 WncFht's Blog](https://WncFht.github.io/) Sun, 04 Aug 2024 03:25:53 +0800 - + 通用技术 - https://WncFht.github.io/categories/%E9%80%9A%E7%94%A8%E6%8A%80%E6%9C%AF/ + http://localhost:1313/categories/%E9%80%9A%E7%94%A8%E6%8A%80%E6%9C%AF/ Sun, 04 Aug 2024 03:25:53 +0800 - https://WncFht.github.io/categories/%E9%80%9A%E7%94%A8%E6%8A%80%E6%9C%AF/ + http://localhost:1313/categories/%E9%80%9A%E7%94%A8%E6%8A%80%E6%9C%AF/ diff --git "a/public/categories/\351\200\232\347\224\250\346\212\200\346\234\257/index.xml" "b/public/categories/\351\200\232\347\224\250\346\212\200\346\234\257/index.xml" index c894c57..5569712 100644 --- "a/public/categories/\351\200\232\347\224\250\346\212\200\346\234\257/index.xml" +++ "b/public/categories/\351\200\232\347\224\250\346\212\200\346\234\257/index.xml" @@ -1,20 +1,20 @@ - + 通用技术 on WncFht's Blog - https://WncFht.github.io/categories/%E9%80%9A%E7%94%A8%E6%8A%80%E6%9C%AF/ + http://localhost:1313/categories/%E9%80%9A%E7%94%A8%E6%8A%80%E6%9C%AF/ Recent content in 通用技术 on WncFht's Blog - Hugo -- 0.138.0 + Hugo -- gohugo.io zh - ©2024 WncFht&rsquo;s Blog + [©2024 WncFht's Blog](https://WncFht.github.io/) Sun, 04 Aug 2024 03:25:53 +0800 - + Hugo + PaperMod + Github Pages 搭建一个完善的个人博客(以 Windows11 为例) - https://WncFht.github.io/posts/test/ + http://localhost:1313/posts/test/ Sun, 04 Aug 2024 03:25:53 +0800 - https://WncFht.github.io/posts/test/ - <p>nihao</p> + http://localhost:1313/posts/test/ + nihao diff --git a/public/index.xml b/public/index.xml index a3e8244..d394e6a 100644 --- a/public/index.xml +++ b/public/index.xml @@ -1,27 +1,41 @@ - + WncFht's Blog - https://WncFht.github.io/ + http://localhost:1313/ Recent content on WncFht's Blog - Hugo -- 0.138.0 + Hugo -- gohugo.io zh - ©2024 WncFht&rsquo;s Blog + [©2024 WncFht's Blog](https://WncFht.github.io/) Sun, 04 Aug 2024 03:25:53 +0800 - + Hugo + PaperMod + Github Pages 搭建一个完善的个人博客(以 Windows11 为例) - https://WncFht.github.io/posts/test/ + http://localhost:1313/posts/test/ Sun, 04 Aug 2024 03:25:53 +0800 - https://WncFht.github.io/posts/test/ - <p>nihao</p> + http://localhost:1313/posts/test/ + nihao 关于 - https://WncFht.github.io/about/ + http://localhost:1313/about/ Mon, 01 Jan 0001 00:00:00 +0000 - https://WncFht.github.io/about/ + http://localhost:1313/about/ about + + 归档 + http://localhost:1313/archives/ + Mon, 01 Jan 0001 00:00:00 +0000 + http://localhost:1313/archives/ + archives + + + 搜索 + http://localhost:1313/search/ + Mon, 01 Jan 0001 00:00:00 +0000 + http://localhost:1313/search/ + search + diff --git a/public/posts/index.xml b/public/posts/index.xml index 9290b2d..e44bf4e 100644 --- a/public/posts/index.xml +++ b/public/posts/index.xml @@ -1,20 +1,20 @@ - + Posts on WncFht's Blog - https://WncFht.github.io/posts/ + http://localhost:1313/posts/ Recent content in Posts on WncFht's Blog - Hugo -- 0.138.0 + Hugo -- gohugo.io zh - ©2024 WncFht&rsquo;s Blog + [©2024 WncFht's Blog](https://WncFht.github.io/) Sun, 04 Aug 2024 03:25:53 +0800 - + Hugo + PaperMod + Github Pages 搭建一个完善的个人博客(以 Windows11 为例) - https://WncFht.github.io/posts/test/ + http://localhost:1313/posts/test/ Sun, 04 Aug 2024 03:25:53 +0800 - https://WncFht.github.io/posts/test/ - <p>nihao</p> + http://localhost:1313/posts/test/ + nihao diff --git a/public/robots.txt b/public/robots.txt index 91ebc0e..4f9540b 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,3 +1 @@ -User-agent: * -Disallow: -Sitemap: https://WncFht.github.io/sitemap.xml +User-agent: * \ No newline at end of file diff --git a/public/sitemap.xml b/public/sitemap.xml index bb7f3d2..05e7ea0 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -2,34 +2,34 @@ - https://WncFht.github.io/tags/bilibili/ + http://localhost:1313/tags/bilibili/ 2024-08-04T03:25:53+08:00 - https://WncFht.github.io/categories/ + http://localhost:1313/categories/ 2024-08-04T03:25:53+08:00 - https://WncFht.github.io/posts/test/ + http://localhost:1313/posts/test/ 2024-08-04T03:25:53+08:00 - https://WncFht.github.io/posts/ + http://localhost:1313/posts/ 2024-08-04T03:25:53+08:00 - https://WncFht.github.io/tags/ + http://localhost:1313/tags/ 2024-08-04T03:25:53+08:00 - https://WncFht.github.io/ + http://localhost:1313/ 2024-08-04T03:25:53+08:00 - https://WncFht.github.io/tags/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/ + http://localhost:1313/tags/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/ 2024-08-04T03:25:53+08:00 - https://WncFht.github.io/categories/%E9%80%9A%E7%94%A8%E6%8A%80%E6%9C%AF/ + http://localhost:1313/categories/%E9%80%9A%E7%94%A8%E6%8A%80%E6%9C%AF/ 2024-08-04T03:25:53+08:00 - https://WncFht.github.io/about/ + http://localhost:1313/about/ - https://WncFht.github.io/archives/ + http://localhost:1313/archives/ - https://WncFht.github.io/search/ + http://localhost:1313/search/ diff --git a/public/tags/bilibili/index.xml b/public/tags/bilibili/index.xml index a89266d..040e3da 100644 --- a/public/tags/bilibili/index.xml +++ b/public/tags/bilibili/index.xml @@ -1,20 +1,20 @@ - + Bilibili on WncFht's Blog - https://WncFht.github.io/tags/bilibili/ + http://localhost:1313/tags/bilibili/ Recent content in Bilibili on WncFht's Blog - Hugo -- 0.138.0 + Hugo -- gohugo.io zh - ©2024 WncFht&rsquo;s Blog + [©2024 WncFht's Blog](https://WncFht.github.io/) Sun, 04 Aug 2024 03:25:53 +0800 - + Hugo + PaperMod + Github Pages 搭建一个完善的个人博客(以 Windows11 为例) - https://WncFht.github.io/posts/test/ + http://localhost:1313/posts/test/ Sun, 04 Aug 2024 03:25:53 +0800 - https://WncFht.github.io/posts/test/ - <p>nihao</p> + http://localhost:1313/posts/test/ + nihao diff --git a/public/tags/index.xml b/public/tags/index.xml index 1e047dd..ffde521 100644 --- a/public/tags/index.xml +++ b/public/tags/index.xml @@ -1,26 +1,26 @@ - + Tags on WncFht's Blog - https://WncFht.github.io/tags/ + http://localhost:1313/tags/ Recent content in Tags on WncFht's Blog - Hugo -- 0.138.0 + Hugo -- gohugo.io zh - ©2024 WncFht&rsquo;s Blog + [©2024 WncFht's Blog](https://WncFht.github.io/) Sun, 04 Aug 2024 03:25:53 +0800 - + Bilibili - https://WncFht.github.io/tags/bilibili/ + http://localhost:1313/tags/bilibili/ Sun, 04 Aug 2024 03:25:53 +0800 - https://WncFht.github.io/tags/bilibili/ + http://localhost:1313/tags/bilibili/ 博客搭建 - https://WncFht.github.io/tags/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/ + http://localhost:1313/tags/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/ Sun, 04 Aug 2024 03:25:53 +0800 - https://WncFht.github.io/tags/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/ + http://localhost:1313/tags/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/ diff --git "a/public/tags/\345\215\232\345\256\242\346\220\255\345\273\272/index.xml" "b/public/tags/\345\215\232\345\256\242\346\220\255\345\273\272/index.xml" index 8cebc0c..c291c82 100644 --- "a/public/tags/\345\215\232\345\256\242\346\220\255\345\273\272/index.xml" +++ "b/public/tags/\345\215\232\345\256\242\346\220\255\345\273\272/index.xml" @@ -1,20 +1,20 @@ - + 博客搭建 on WncFht's Blog - https://WncFht.github.io/tags/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/ + http://localhost:1313/tags/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/ Recent content in 博客搭建 on WncFht's Blog - Hugo -- 0.138.0 + Hugo -- gohugo.io zh - ©2024 WncFht&rsquo;s Blog + [©2024 WncFht's Blog](https://WncFht.github.io/) Sun, 04 Aug 2024 03:25:53 +0800 - + Hugo + PaperMod + Github Pages 搭建一个完善的个人博客(以 Windows11 为例) - https://WncFht.github.io/posts/test/ + http://localhost:1313/posts/test/ Sun, 04 Aug 2024 03:25:53 +0800 - https://WncFht.github.io/posts/test/ - <p>nihao</p> + http://localhost:1313/posts/test/ + nihao