-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-templates-page-js-b968c102b2dde7fdac2d.js.map
1 lines (1 loc) · 2.77 KB
/
component---src-templates-page-js-b968c102b2dde7fdac2d.js.map
1
{"version":3,"sources":["webpack:///./src/templates/page.js"],"names":["BlogPostTemplate","data","pageContext","markdownRemark","frontmatter","title","date","path","author","coverImage","excerpt","tags","series","autoExcerpt","id","html","next","previous","description","key","previousPost","nextPost","propTypes","PropTypes","object","isRequired","shape","pageQuery"],"mappings":"2FAAA,mIAQMA,EAAmB,SAAC,GAA2B,IAAzBC,EAAwB,EAAxBA,KAAMC,EAAkB,EAAlBA,YAAkB,EAM9CD,EAAKE,eANyC,IAEhDC,YAAeC,EAFiC,EAEjCA,MAAOC,EAF0B,EAE1BA,KAAMC,EAFoB,EAEpBA,KAAMC,EAFc,EAEdA,OAAQC,EAFM,EAENA,WAAYC,EAFN,EAEMA,QAASC,EAFf,EAEeA,KAAMC,EAFrB,EAEqBA,OAC5DC,EAHuC,EAGhDH,QACAI,EAJgD,EAIhDA,GACAC,EALgD,EAKhDA,KAEMC,EAAmBd,EAAnBc,KAAMC,EAAaf,EAAbe,SAEd,OACE,kBAAC,IAAD,KACE,kBAAC,IAAD,CAAKZ,MAAOA,EAAOa,YAAaR,GAAWG,IAC3C,kBAAC,IAAD,CACEM,IAAKL,EACLT,MAAOA,EACPC,KAAMA,EACNC,KAAMA,EACNC,OAAQA,EACRC,WAAYA,EACZM,KAAMA,EACNJ,KAAMA,EACNC,OAAQA,EACRQ,aAAcH,EACdI,SAAUL,MAMHhB,YAEfA,EAAiBsB,UAAY,CAC3BrB,KAAMsB,IAAUC,OAAOC,WACvBvB,YAAaqB,IAAUG,MAAM,CAC3BV,KAAMO,IAAUC,OAChBP,SAAUM,IAAUC,UAIjB,IAAMG,EAAS","file":"component---src-templates-page-js-b968c102b2dde7fdac2d.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, pageContext }) => {\n const {\n frontmatter: { title, date, path, author, coverImage, excerpt, tags, series },\n excerpt: autoExcerpt,\n id,\n html,\n } = data.markdownRemark\n const { next, previous } = pageContext\n\n return (\n <Layout>\n <SEO title={title} description={excerpt || autoExcerpt} />\n <Post\n key={id}\n title={title}\n date={date}\n path={path}\n author={author}\n coverImage={coverImage}\n html={html}\n tags={tags}\n series={series}\n previousPost={previous}\n nextPost={next}\n />\n </Layout>\n )\n}\n\nexport default BlogPostTemplate\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 frontmatter {\n title\n date(formatString: \"DD MMMM YYYY\")\n path\n author\n excerpt\n tags\n series {\n title\n path\n }\n coverImage {\n childImageSharp {\n fluid(maxWidth: 800) {\n ...GatsbyImageSharpFluid\n }\n }\n }\n }\n id\n html\n excerpt\n }\n }\n`\n"],"sourceRoot":""}