Skip to content

Commit

Permalink
fix: add id index for mini search
Browse files Browse the repository at this point in the history
  • Loading branch information
AlmubdyMutaikhan committed Nov 23, 2024
1 parent 94de470 commit 7afb24c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/build_index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function parseMetadata(dir, specifyContent) {
if(specifyContent) {
jsonArr.push({...data, content, id });
} else {
jsonArr.push(data);
jsonArr.push({...data, id});
}
}

Expand Down

0 comments on commit 7afb24c

Please sign in to comment.