Skip to content

Commit

Permalink
fix(gatsby-transformer-remark): pass excerpt_separator to gray-matter…
Browse files Browse the repository at this point in the history
… as well

partially reverting #11363
  • Loading branch information
chitoku-k committed Jan 29, 2019
1 parent 53b7491 commit 1295a30
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const bootstrapTest = (
actions,
createNodeId,
},
{ ...additionalParameters }
{ ...additionalParameters, ...pluginOptions }
)
})
}
Expand Down Expand Up @@ -230,7 +230,7 @@ In quis lectus sed eros efficitur luctus. Morbi tempor, nisl eget feugiat tincid
type: `root`,
})
},
{ additionalParameters: { excerpt_separator: `<!-- end -->` } }
{ pluginOptions: { excerpt_separator: `<!-- end -->` } }
)

const content = `---
Expand Down

0 comments on commit 1295a30

Please sign in to comment.