Skip to content

Instantly share code, notes, and snippets.

@florapdx
Created November 2, 2016 04:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save florapdx/f33807aa0cd6ad20fc26d40d63be9e3d to your computer and use it in GitHub Desktop.
Save florapdx/f33807aa0cd6ad20fc26d40d63be9e3d to your computer and use it in GitHub Desktop.
This is an example gist for gatsby-bloggy-starter
## Here's some code from the blog!
const Post = props => {
const { post, slug } = props;
const postMeta = postManifest[slug];
return (
<div className="post">
<PostHeader postMeta={postMeta} />
<div dangerouslySetInnerHTML={{ __html: post.body }} />
<PostFooter />
</div>
);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment