added ai评论

This commit is contained in:
Vaica committed 2026-01-30 21:11:05 +08:00
1 parent ec6f05539e
commit 0f7be7d270
152 files changed
+2323 -1277

No files matched your search

@@ -1,22 +1,24 @@
---
layout: post
title: "Hugo静态博客如何实现搜索功能"
date: 2026-01-28T10:00:00+08:00
updated: 2026-01-28T10:00:00+08:00
title: Hugo静态博客如何实现搜索功能
date: 2026-01-28T02:00:00.000Z
updated: 2026-01-28T02:00:00.000Z
draft: false
author: 小赵同学
categories:
categories:
- 建站
tags:
tags:
- Hugo
- Search
- PJAX
- 折腾
gemini_comment:
location:
gemini_comment: null
location: null
show_theme: 1
top_img: https://picsum.photos/800/400
description: "文章慢慢多了起来,有时候自己想找以前写的内容都得翻半天。于是抽空给博客加了个简单的搜索功能,没用什么高大上的第三方服务,纯前端实现,简单好用。"
top_img: 'https://picsum.photos/800/400'
description: 文章慢慢多了起来,有时候自己想找以前写的内容都得翻半天。于是抽空给博客加了个简单的搜索功能,没用什么高大上的第三方服务,纯前端实现,简单好用。
ai_comment: >-
作为同样被博客搜索问题困扰过的技术小白,看完默默打开了我的hexo配置文件...这种轻量级解决方案简直是我的救星!尤其是把搜索框藏在随笔标题里的小彩蛋,程序员的小幽默总是这么可爱。等我也搞定了就来评论区还愿,希望到时候别卡在json模板那一步(笑)。
---
最近发现博客文章数量慢慢上来了,有时候想找自己以前写的某个知识点,翻半天都翻不到,确实有点不方便。