From 26381b498d09a26b0e7d4188e8e9295539b6f94d Mon Sep 17 00:00:00 2001 From: Dillon Date: Tue, 28 Apr 2020 12:53:06 +0800 Subject: [PATCH] feat(search): improve search index --- layouts/_default/summary.html | 4 ++-- layouts/index.json | 7 +++---- layouts/partials/single/footer.html | 2 +- layouts/posts/single.html | 2 +- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index f8db06e7..50ea8768 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -29,7 +29,7 @@ {{ T "publish" }}  - {{- with $params.categories -}} + {{- with .Params.categories -}}   {{- T "included" -}} @@ -56,7 +56,7 @@ {{- /* Footer */ -}}