Skip to content

Commit

Permalink
Adjust regex to only fetch exercises rather than index-summary.mdx in…
Browse files Browse the repository at this point in the history
… root
  • Loading branch information
wheeler-c committed Dec 22, 2023
1 parent a9bf77e commit 53933bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/src/pages/exercises/makecode/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const pageQuery = graphql`
}
allMdx(
filter: {
internal: { contentFilePath: { regex: "/exercises/makecode//" } }
internal: { contentFilePath: { regex: "/exercises\/makecode/E[0-9]+\//" } }
}
sort: [
{ frontmatter: { level: ASC } }
Expand Down

0 comments on commit 53933bc

Please sign in to comment.