Skip to content

Instantly share code, notes, and snippets.

@DZuz14
Created August 23, 2018 23:09
Show Gist options
  • Save DZuz14/808c5af1d9120bf860ae56d4ac676506 to your computer and use it in GitHub Desktop.
Save DZuz14/808c5af1d9120bf860ae56d4ac676506 to your computer and use it in GitHub Desktop.
Temp Fix For Edit This Page On ReactJs.org
{markdownRemark.fields.slug && (
<div css={{marginTop: 80}}>
<a
css={sharedStyles.articleLayout.editLink}
href={`https://github.com/reactjs/reactjs.org/tree/master/content/${
markdownRemark.fields.slug.replace('.html', '.md')
}`}>
Edit this page
</a>
</div>
)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment