File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,7 @@ export const pageQuery = graphql`
4242 query {
4343 allMarkdownRemark(
4444 filter: { frontmatter: { slug: { regex: "/^/code//" } } }
45- sort: { fields: frontmatter___date, order: DESC }
46- limit: 10
45+ sort: { frontmatter: { date: DESC } }
4746 ) {
4847 edges {
4948 node {
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export const pageQuery = graphql`
4242 query {
4343 allMarkdownRemark(
4444 filter: { frontmatter: { slug: { regex: "/^/lymphoma//" } } }
45- sort: { fields: frontmatter___date, order : DESC }
45+ sort: { frontmatter: { date : DESC } }
4646 ) {
4747 edges {
4848 node {
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ export const pageQuery = graphql`
7676 title
7777 }
7878 }
79- allMarkdownRemark(sort: { fields: frontmatter___date, order : ASC }) {
79+ allMarkdownRemark(sort: { frontmatter: { date : ASC } }) {
8080 edges {
8181 node {
8282 frontmatter {
You can’t perform that action at this time.
0 commit comments