Skip to content

Commit

Permalink
Update utils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato authored Dec 24, 2024
1 parent ec334b3 commit 5a03c72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export async function getDoc(slug: string) {
}

let folder = slug.replace("/docs/", "");
if (folder === doc.metadata.title) {
if (folder === doc.metadata.title.toLowerCase()) {
folder = "Topics";
}

Expand Down

0 comments on commit 5a03c72

Please sign in to comment.