Skip to content

Commit

Permalink
fixup RSS
Browse files Browse the repository at this point in the history
  • Loading branch information
gdams committed Nov 15, 2023
1 parent f0bf8f3 commit 5d0cc2a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,20 +80,15 @@ module.exports = {
date: edge.node.frontmatter.date,
url: site.siteMetadata.siteUrl + edge.node.fields.postPath,
guid: site.siteMetadata.siteUrl + edge.node.fields.postPath,
custom_elements: [{ "content:encoded": edge.node.html }],
});
});
},
query: `
{
allMdx(
sort: {frontmatter: {date: DESC}},
limit: 10
) {
allMdx(sort: {frontmatter: {date: DESC}}, limit: 100) {
edges {
node {
excerpt
html
fields {
slug
postPath
Expand Down

0 comments on commit 5d0cc2a

Please sign in to comment.