From 2dd30bb17193990ceb3ea8a0074fc222a5b0a5a3 Mon Sep 17 00:00:00 2001 From: hyang Date: Thu, 14 Sep 2023 22:26:08 -0700 Subject: Fix searching --- hugo.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'hugo.toml') diff --git a/hugo.toml b/hugo.toml index 97d7173..bf95a28 100644 --- a/hugo.toml +++ b/hugo.toml @@ -5,10 +5,14 @@ theme = 'papermodx' enableRobotsTXT = true paginate = 5 +[outputs] +home = [ "HTML", "RSS", "JSON" ] + [params] description = "Cool blogpostings" author = "hyang" email = "hyang@hyang.xyz" + keywords = [ "Blog", "Portfolio" ] mainSections = ["posts"] TocOpen = true TocSide = "left" @@ -16,6 +20,8 @@ paginate = 5 ShowWordCount = true ShowCodeCopyButtons = true ShowPostNavLinks = true + ShowBreadCrumbs = true + env = "production" [[menu.main]] name = "Posts" @@ -46,6 +52,15 @@ paginate = 5 I'm Huaxuan Yang. On *hyang.xyz*, I self-host a bunch of services (including this blog), using the finest grade gaming hardware. Here, I mostly talk about technology stuff, like Linux, programming, etc. Maybe some other content soon... """ + [params.fuseOpts] + isCaseSensitive = false + shouldSort = true + location = 0 + distance = 1_000 + threshold = 0.4 + minMatchCharLength = 0 + keys = [ "title", "permalink", "summary", "content" ] + [languages] [languages.en.params.logo] logoText = "@hyang.xyz" -- cgit v1.2.3