From 603e47136a47250b3eb5a240a93bd60c2c006f91 Mon Sep 17 00:00:00 2001 From: Vaica <94612053+zqlit@users.noreply.github.com> Date: Fri, 30 Jan 2026 19:17:04 +0800 Subject: [PATCH] Update index.md --- .../index.md | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/content/post/2026-01-28-hugo-search-implementation/index.md b/content/post/2026-01-28-hugo-search-implementation/index.md index 9c972c02..8ca2e5c6 100644 --- a/content/post/2026-01-28-hugo-search-implementation/index.md +++ b/content/post/2026-01-28-hugo-search-implementation/index.md @@ -1,11 +1,22 @@ --- +layout: post title: "Hugo静态博客如何实现搜索功能" -date: 2026-01-28 +date: 2026-01-28T10:00:00+08:00 +updated: 2026-01-28T10:00:00+08:00 +draft: false +author: 小赵同学 +categories: + - 建站 +tags: + - Hugo + - Search + - PJAX + - 折腾 +gemini_comment: +location: +show_theme: 1 +top_img: https://picsum.photos/800/400 description: "文章慢慢多了起来,有时候自己想找以前写的内容都得翻半天。于是抽空给博客加了个简单的搜索功能,没用什么高大上的第三方服务,纯前端实现,简单好用。" -tags: ["Hugo", "Search", "PJAX", "折腾"] -categories: ["建站"] -status: public -allowComment: true --- 最近发现博客文章数量慢慢上来了,有时候想找自己以前写的某个知识点,翻半天都翻不到,确实有点不方便。