summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-03-31 20:25:55 +0800
committerEltrac <hi@guhub.cn>2025-03-31 20:25:55 +0800
commitbb97d9d473467da594d859a5f55ad63d2b7ac36e (patch)
treeca91ac20ab11e87669c30472103bca643496ccf5 /layouts/_default/baseof.html
parent65a963496bc57360c32d0c6b1d0fde1fe15bbe8d (diff)
feat: global search
press command/ctrl + k anywhere to search the site Former-commit-id: 87617f9e21540c8075b99238c5b3461d89765acc
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index ebbb6ec7..5898e418 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -6,6 +6,7 @@
{{ block "main" . }}{{ end }}
</main>
{{ partial "scripts.html" . }}
+ {{ partial "components/global-search" . }}
{{ if .Site.Params.extraBody }}
{{ .Site.Params.extraBody | safeHTML }}
{{ end }}