Skip to content

Commit 3b3f8cb

Browse files
committed
add community desc
1 parent 4d77cdb commit 3b3f8cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Search.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ let hit = ({hit, children}: DocSearch.hitComponent) => {
3333
->Js.String2.split("/")
3434
->Js.Array2.sliceFrom(1)
3535
->Belt.List.fromArray {
36-
| list{"blog", ..._} => "Blog"
36+
| list{"blog" as r | "community" as r, ..._} => r->toTitle
3737
| list{"docs", doc, version, ...rest} =>
3838
let path = rest->Belt.List.toArray
3939

0 commit comments

Comments
 (0)