-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-templates-blog-post-js-bb96579160064c35a361.js.map
1 lines (1 loc) · 4.19 KB
/
component---src-templates-blog-post-js-bb96579160064c35a361.js.map
1
{"version":3,"file":"component---src-templates-blog-post-js-bb96579160064c35a361.js","mappings":"+MAMmD,IAE7CA,EAAgB,SAAAC,GAAA,SAAAD,IAAA,OAAAC,EAAAC,MAAA,KAAAC,YAAA,KA6DnB,OA7DmBC,EAAAA,EAAAA,GAAAJ,EAAAC,GAAAD,EAAAK,UACpBC,OAAA,WACE,MAAMC,EAAOC,KAAKC,MAAMC,KAAKC,eACvBC,EAAYJ,KAAKC,MAAMC,KAAKG,KAAKC,aAAaC,MAC9CC,EAAkBT,EAAKU,SACvB,SAAEC,EAAQ,KAAEC,GAASX,KAAKC,MAAMW,YAEtC,OACEC,EAAAA,cAACC,EAAAA,EAAM,CAACC,SAAUf,KAAKC,MAAMc,SAAUR,MAAOH,GAC5CS,EAAAA,cAACG,EAAAA,EAAM,CACLC,eAAgB,CAAEC,KAAM,MACxBC,KAAM,CAAC,CAAEC,KAAM,cAAeC,QAASb,IACvCD,MAAQ,GAAER,EAAKuB,YAAYf,WAAWH,MAExCS,EAAAA,cAAA,UAAKd,EAAKuB,YAAYf,OACtBM,EAAAA,cAAA,KACEU,MAAO,KACFC,EAAAA,EAAAA,KAAM,IACTC,QAAS,QACTC,cAAcC,EAAAA,EAAAA,IAAO,GACrBC,WAAWD,EAAAA,EAAAA,KAAQ,KAGpB5B,EAAKuB,YAAYO,MAEpBhB,EAAAA,cAAA,OAAKiB,wBAAyB,CAAEC,OAAQhC,EAAKiC,QAC7CnB,EAAAA,cAAA,MACEU,MAAO,CACLG,cAAcC,EAAAA,EAAAA,IAAO,MAGzBd,EAAAA,cAACoB,EAAAA,EAAG,MAEJpB,EAAAA,cAAA,MACEU,MAAO,CACLE,QAAS,OACTS,SAAU,OACVC,eAAgB,gBAChBC,UAAW,OACXC,QAAS,IAGXxB,EAAAA,cAAA,UAEIH,GACAG,EAAAA,cAACyB,EAAAA,GAAI,CAACC,GAAI7B,EAAS8B,OAAOC,KAAMC,IAAI,QAAO,KACtChC,EAASY,YAAYf,QAI9BM,EAAAA,cAAA,UAEIF,GACAE,EAAAA,cAACyB,EAAAA,GAAI,CAACC,GAAI5B,EAAK6B,OAAOC,KAAMC,IAAI,QAC7B/B,EAAKW,YAAYf,MAAM,QAOtC,EAACf,CAAA,CA7DmB,CAASqB,EAAAA,WAgE/B,W","sources":["webpack://gatsby-starter-blog/./src/templates/blog-post.js"],"sourcesContent":["import React from 'react'\nimport Helmet from 'react-helmet'\nimport { Link, graphql } from 'gatsby'\n\nimport Bio from '../components/Bio'\nimport Layout from '../components/Layout'\nimport { rhythm, scale } from '../utils/typography'\n\nclass BlogPostTemplate extends React.Component {\n render() {\n const post = this.props.data.markdownRemark\n const siteTitle = this.props.data.site.siteMetadata.title\n const siteDescription = post.excerpt\n const { previous, next } = this.props.pageContext\n\n return (\n <Layout location={this.props.location} title={siteTitle}>\n <Helmet\n htmlAttributes={{ lang: 'en' }}\n meta={[{ name: 'description', content: siteDescription }]}\n title={`${post.frontmatter.title} | ${siteTitle}`}\n />\n <h1>{post.frontmatter.title}</h1>\n <p\n style={{\n ...scale(-1 / 5),\n display: 'block',\n marginBottom: rhythm(1),\n marginTop: rhythm(-1),\n }}\n >\n {post.frontmatter.date}\n </p>\n <div dangerouslySetInnerHTML={{ __html: post.html }} />\n <hr\n style={{\n marginBottom: rhythm(1),\n }}\n />\n <Bio />\n\n <ul\n style={{\n display: 'flex',\n flexWrap: 'wrap',\n justifyContent: 'space-between',\n listStyle: 'none',\n padding: 0,\n }}\n >\n <li>\n {\n previous &&\n <Link to={previous.fields.slug} rel=\"prev\">\n ← {previous.frontmatter.title}\n </Link>\n }\n </li>\n <li>\n {\n next &&\n <Link to={next.fields.slug} rel=\"next\">\n {next.frontmatter.title} →\n </Link>\n }\n </li>\n </ul>\n </Layout>\n )\n }\n}\n\nexport default BlogPostTemplate\n\nexport const pageQuery = graphql`\n query BlogPostBySlug($slug: String!) {\n site {\n siteMetadata {\n title\n author\n }\n }\n markdownRemark(fields: { slug: { eq: $slug } }) {\n id\n excerpt\n html\n frontmatter {\n title\n date(formatString: \"MMMM DD, YYYY\")\n }\n }\n }\n`\n"],"names":["BlogPostTemplate","_React$Component","apply","arguments","_inheritsLoose","prototype","render","post","this","props","data","markdownRemark","siteTitle","site","siteMetadata","title","siteDescription","excerpt","previous","next","pageContext","React","Layout","location","Helmet","htmlAttributes","lang","meta","name","content","frontmatter","style","scale","display","marginBottom","rhythm","marginTop","date","dangerouslySetInnerHTML","__html","html","Bio","flexWrap","justifyContent","listStyle","padding","Link","to","fields","slug","rel"],"sourceRoot":""}