-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-templates-blog-post-js-e7efe6c26c6479ae8bab.js.map
1 lines (1 loc) · 2.5 KB
/
component---src-templates-blog-post-js-e7efe6c26c6479ae8bab.js.map
1
{"version":3,"sources":["webpack:///./src/templates/blog-post.js"],"names":["BlogPostTemplate","data","title","markdownRemark","frontmatter","description","excerpt","autoExcerpt","key","id","date","path","parent","coverImage","html","tags"],"mappings":"4FAAA,oEAqEeA,UA7DU,SAAC,GAAD,IAAGC,EAAH,EAAGA,KAAH,OACvB,kBAAC,IAAD,KACE,kBAAC,IAAD,CACEC,MAAOD,EAAKE,eAAeC,YAAYF,MACvCG,YAAaJ,EAAKE,eAAeC,YAAYE,SAAWL,EAAKE,eAAeG,QAAQC,cAEtF,kBAAC,IAAD,CACEC,IAAKP,EAAKE,eAAeM,GACzBP,MAAOD,EAAKE,eAAeC,YAAYF,MACvCQ,KAAMT,EAAKE,eAAeC,YAAYM,KACtCC,KAAMV,EAAKE,eAAeC,YAAYO,KACtCC,OAAQX,EAAKE,eAAeC,YAAYQ,OACxCC,WAAYZ,EAAKE,eAAeC,YAAYS,WAC5CC,KAAMb,EAAKE,eAAeW,KAC1BC,KAAMd,EAAKE,eAAeC,YAAYW","file":"component---src-templates-blog-post-js-e7efe6c26c6479ae8bab.js","sourcesContent":["import React from 'react'\nimport PropTypes from 'prop-types'\nimport { graphql } from 'gatsby'\n\nimport SEO from '../components/seo'\nimport Layout from '../components/layout'\nimport Post from '../components/post'\n\nconst BlogPostTemplate = ({ data }) => (\n <Layout>\n <SEO\n title={data.markdownRemark.frontmatter.title}\n description={data.markdownRemark.frontmatter.excerpt || data.markdownRemark.excerpt.autoExcerpt}\n />\n <Post\n key={data.markdownRemark.id}\n title={data.markdownRemark.frontmatter.title}\n date={data.markdownRemark.frontmatter.date}\n path={data.markdownRemark.frontmatter.path}\n parent={data.markdownRemark.frontmatter.parent}\n coverImage={data.markdownRemark.frontmatter.coverImage}\n html={data.markdownRemark.html}\n tags={data.markdownRemark.frontmatter.tags}\n // previousPost={pageContext.previous}\n // nextPost={pageContext.next}\n />\n </Layout>\n)\n\nBlogPostTemplate.propTypes = {\n data: PropTypes.object.isRequired,\n // pageContext: PropTypes.shape({\n // next: PropTypes.object,\n // previous: PropTypes.object,\n // }),\n}\n\nexport const pageQuery = graphql`\n query($path: String) {\n markdownRemark(frontmatter: { path: { eq: $path } }) {\n id\n html\n excerpt\n timeToRead\n wordCount {\n paragraphs\n sentences\n words\n }\n frontmatter {\n title\n date\n path\n parent\n excerpt\n tags\n published\n coverImage {\n childImageSharp {\n fluid(maxWidth: 800) {\n ...GatsbyImageSharpFluid\n }\n }\n }\n }\n }\n }\n`\n\nexport default BlogPostTemplate"],"sourceRoot":""}