From 482d4bda5793a878472726a80ad4469f511ef9d6 Mon Sep 17 00:00:00 2001 From: bisnsh Date: Tue, 26 Aug 2025 13:20:20 +0800 Subject: [PATCH] update --- _config.butterfly.yml | 2 +- source/_posts/2025.08/custom-footer.md | 1 + source/_posts/2025.08/custom-right-menu.md | 1 + source/_posts/2025.08/go-to-random-page.md | 1 + source/_posts/2025.08/how-to-deploy.md | 1 + source/admin/config.yml | 4 ++-- 6 files changed, 7 insertions(+), 3 deletions(-) diff --git a/_config.butterfly.yml b/_config.butterfly.yml index 4a26646..e630142 100644 --- a/_config.butterfly.yml +++ b/_config.butterfly.yml @@ -178,7 +178,7 @@ subtitle: # 5: Info displayed on the cover # 6: Masonry layout - Cover on top, info on the bottom # 7: Masonry layout - Info displayed on the cover -index_layout: 3 +index_layout: 6 # Display the article introduction on homepage # 1: description diff --git a/source/_posts/2025.08/custom-footer.md b/source/_posts/2025.08/custom-footer.md index 54b5b97..2d61f25 100644 --- a/source/_posts/2025.08/custom-footer.md +++ b/source/_posts/2025.08/custom-footer.md @@ -3,6 +3,7 @@ title: 自定义页脚(新) abbrlink: c6143ad3 tags: 网站 category: 建站手札 +cover: https://pic.biss.click/i/2025/08/26/542121.webp series: webcustom summary: >- 您提供的代码是一个自定义页脚的HTML和CSS代码 要在您的网站中使用这个自定义页脚,请按照以下步骤操作: 1. diff --git a/source/_posts/2025.08/custom-right-menu.md b/source/_posts/2025.08/custom-right-menu.md index e91742f..d039838 100644 --- a/source/_posts/2025.08/custom-right-menu.md +++ b/source/_posts/2025.08/custom-right-menu.md @@ -4,6 +4,7 @@ categories: 建站手札 tags: 网站 series: webcustom abbrlink: 8bdb35fb +cover: https://pic.biss.click/i/2025/08/26/349074.webp summary: 自定义右键菜单 date: 2025-08-11 16:02:12 --- diff --git a/source/_posts/2025.08/go-to-random-page.md b/source/_posts/2025.08/go-to-random-page.md index df83835..e6c398b 100644 --- a/source/_posts/2025.08/go-to-random-page.md +++ b/source/_posts/2025.08/go-to-random-page.md @@ -3,6 +3,7 @@ title: 利用 SiteMap 随机访问站内页面 tags: 网站 categories: 建站手札 series: webcustom +cover: https://pic.biss.click/i/2025/08/26/200711.webp abbrlink: b5866b9e summary: >- 提供了一个很好的解决方案,通过使用 Hexo 的 sitemap 生成器和 JavaScript 代码来实现随机访问站内页面的功能 diff --git a/source/_posts/2025.08/how-to-deploy.md b/source/_posts/2025.08/how-to-deploy.md index 82d12b5..3e031e8 100644 --- a/source/_posts/2025.08/how-to-deploy.md +++ b/source/_posts/2025.08/how-to-deploy.md @@ -4,6 +4,7 @@ tags: - 网站 categories: 建站手札 abbrlink: 6e5f5039 +cover: https://pic.biss.click/i/2025/08/26/024553.webp summary: >- 这篇文章详细介绍了如何部署Hexo博客到Linux服务器,包括前提条件、本地环境准备、SSH密钥认证、配置步骤、工作流程以及故障排除提示。文章首先列出了部署所需满足的条件,然后逐步指导读者如何在服务器上安装Git、创建裸仓库、配置Git钩子以自动部署Hexo博客,并提供了验证部署成功的步骤。最后,文章还给出了一些常见问题的解决建议,帮助读者顺利完成部署。整个过程简单高效,适合需要自动化部署博客的用户。 date: 2025-8-02 19:07:05 diff --git a/source/admin/config.yml b/source/admin/config.yml index 2252f7b..1929bf9 100644 --- a/source/admin/config.yml +++ b/source/admin/config.yml @@ -73,10 +73,10 @@ collections: - name: "202508" label: "2025年8月" folder: "source/_posts/2025.08" - preview_path: "2025/{{filename}}/" + preview_path: "{{abbrlink}}/" <<: *common_col_conf - name: "202509" label: "2025年9月" folder: "source/_posts/2025.09" - preview_path: "2025/{{filename}}/" + preview_path: "{{abbrlink}}/" <<: *common_col_conf \ No newline at end of file