summaryrefslogtreecommitdiff
path: root/hugo.toml
diff options
context:
space:
mode:
authorhyang <hyang@hyang.xyz>2023-09-14 22:26:08 -0700
committerhyang <hyang@hyang.xyz>2023-09-14 22:26:08 -0700
commit2dd30bb17193990ceb3ea8a0074fc222a5b0a5a3 (patch)
tree1d2156e8a77d7e16759b758aede98493c2170a00 /hugo.toml
parentd2eee3b79256166802729f576227dcb01d5d6556 (diff)
Fix searching
Diffstat (limited to 'hugo.toml')
-rw-r--r--hugo.toml15
1 files changed, 15 insertions, 0 deletions
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"