added 搜索功能

This commit is contained in:
Vaica committed 2026-01-28 23:20:39 +08:00
1 parent 53afae972b
commit 4baf51f4b1
7 files changed
+803 -2

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
[
{{- range $index, $e := where .Site.RegularPages "Type" "post" -}}
{{- if $index -}}, {{- end -}}
{
"title": {{ .Title | jsonify }},
"date": {{ .Date.Format "2006-01-02" | jsonify }},
"permalink": {{ .Permalink | jsonify }},
"summary": {{ .Summary | plainify | jsonify }}
}
{{- end -}}
]