From 871662725c287c73fcf55a1212f176679a690f04 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Thu, 5 Jun 2025 13:06:36 +0800 Subject: chore: configure pagefind for better UX - set up correct title metadata - set up sorting data - exclude certain selectors --- layouts/posts/single.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'layouts/posts/single.html') diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 0fe65678..d31c9f30 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -9,7 +9,7 @@ {{ partial "components/banner.html" . }}

- {{ .Title }} + {{ .Title }} {{ with .Params.subtitle }} {{ . }} {{ end }} @@ -37,7 +37,10 @@ {{ $fuzzyTime = "深夜" }} {{ end }} -