We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d77cdb commit 3b3f8cbCopy full SHA for 3b3f8cb
src/components/Search.res
@@ -33,7 +33,7 @@ let hit = ({hit, children}: DocSearch.hitComponent) => {
33
->Js.String2.split("/")
34
->Js.Array2.sliceFrom(1)
35
->Belt.List.fromArray {
36
- | list{"blog", ..._} => "Blog"
+ | list{"blog" as r | "community" as r, ..._} => r->toTitle
37
| list{"docs", doc, version, ...rest} =>
38
let path = rest->Belt.List.toArray
39
0 commit comments