From 1757d89c68748783a8e46bb39cac053cf1c9dc5e Mon Sep 17 00:00:00 2001 From: bisnsh Date: Sun, 8 Feb 2026 18:45:49 +0800 Subject: [PATCH] update --- .../_posts/2025/2025.09/install-adguardhome-on-openwrt.md | 1 + source/_posts/2026/2026.2/install-gitea.md | 1 + source/about/index.md | 7 +++++++ themes/butterfly/layout/includes/page/about.pug | 0 themes/butterfly/layout/page.pug | 3 +++ 5 files changed, 12 insertions(+) create mode 100644 source/about/index.md create mode 100644 themes/butterfly/layout/includes/page/about.pug diff --git a/source/_posts/2025/2025.09/install-adguardhome-on-openwrt.md b/source/_posts/2025/2025.09/install-adguardhome-on-openwrt.md index 2ce8db6..91818f3 100644 --- a/source/_posts/2025/2025.09/install-adguardhome-on-openwrt.md +++ b/source/_posts/2025/2025.09/install-adguardhome-on-openwrt.md @@ -6,6 +6,7 @@ tags: - Openwrt - AdguardHome abbrlink: b57500e9 +swiper_index: 2 summary: >- 这篇文章介绍了在OpenWrt上安装AdguardHome的过程。首先,作者提到由于luci-app-adguardhome软件源的问题,选择了其他途径获取软件包并进行安装。接着,详细说明了安装步骤,包括下载、上传和运行安装命令。在配置部分,作者强调了更新核心版本的重要性,并提供了配置AdguardHome的具体步骤,如关闭路由器自带DNS/DHCP服务器,并建议设置AdguardHome的DHCP服务器。最后,作者提醒用户在完成配置后点击“保存并应用”,并通过AdGuardHome Web界面进行验证。 diff --git a/source/_posts/2026/2026.2/install-gitea.md b/source/_posts/2026/2026.2/install-gitea.md index 8b6a99f..f8f8793 100644 --- a/source/_posts/2026/2026.2/install-gitea.md +++ b/source/_posts/2026/2026.2/install-gitea.md @@ -4,6 +4,7 @@ cover: https://pic.biss.click/image/961bc881-cb0a-4ab7-ace5-9990e71c30a0.webp categories: 技术 tags: gitea abbrlink: 34725d47 +swiper_index: 1 summary: >- 这篇文章详细介绍了如何在2C2G的服务器上安装Gitea,包括获取二进制文件、创建用户和工作目录、创建系统服务、创建数据库以及安装Runner等步骤。Gitea作为一个轻量级的自助Git服务,适合用于托管网站源码。文章还提供了关于如何配置反向代理和数据库的信息,以及如何使用Docker运行Gitea Runner以实现GitHub Actions功能。通过这些步骤,用户可以在自己的服务器上成功部署Gitea,并利用其进行版本控制和自动化工作流程。 diff --git a/source/about/index.md b/source/about/index.md new file mode 100644 index 0000000..38f65d1 --- /dev/null +++ b/source/about/index.md @@ -0,0 +1,7 @@ +--- +title: 关于 +date: 2025-08-09 21:38:20 +type: 'about' +comments: false +aside: false +--- diff --git a/themes/butterfly/layout/includes/page/about.pug b/themes/butterfly/layout/includes/page/about.pug new file mode 100644 index 0000000..e69de29 diff --git a/themes/butterfly/layout/page.pug b/themes/butterfly/layout/page.pug index 2374681..9cf058a 100644 --- a/themes/butterfly/layout/page.pug +++ b/themes/butterfly/layout/page.pug @@ -23,6 +23,9 @@ block content when 'categories' include includes/page/categories.pug +commentLoad + when 'about' + include includes/page/about.pug + +commentLoad when '404' include includes/page/404.pug when 'shuoshuo'