-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomponent---src-templates-blog-post-js-c9ce2c650483c9232200.js.map
1 lines (1 loc) · 1.87 KB
/
component---src-templates-blog-post-js-c9ce2c650483c9232200.js.map
1
{"version":3,"file":"component---src-templates-blog-post-js-c9ce2c650483c9232200.js","mappings":"kJAMMA,EAAO,SAACC,GAAD,OACX,uBAAKC,UAAU,gBACZD,EAAME,WAIX,mBAAe,GAAe,IAAZC,EAAW,EAAXA,KACVC,EAAOD,EAAKE,eACZC,EAAa,GAAMH,EAAKI,KAAKC,aAAaC,OAASL,EAAKM,OAAOC,KACrE,OACE,gBAAC,IAAD,KACE,gBAAC,IAAD,KACE,6BAAQP,EAAKQ,YAAYC,OACzB,wBAAMC,IAAI,YAAYC,KAAMT,KAE9B,2BACE,0BAAKF,EAAKQ,YAAYC,OACtB,gBAACd,EAAD,KAAOK,EAAKQ,YAAYI,MACxB,uBAAKC,wBAAyB,CAAEC,OAAQd,EAAKe","sources":["webpack://docunext/./src/templates/blog-post.js"],"sourcesContent":["import React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Layout from \"../components/layout\"\nimport { Helmet } from \"react-helmet\"\nimport \"./blog-post.css\"\n\nconst Date = (props) => (\n <div className=\"blogPostDate\">\n {props.children}\n </div>\n)\n\nexport default ({ data }) => {\n const post = data.markdownRemark\n const canonicalLink = `${data.site.siteMetadata.domain}${post.fields.slug}`\n return (\n <Layout>\n <Helmet>\n <title>{post.frontmatter.title}</title>\n <link rel=\"canonical\" href={canonicalLink} />\n </Helmet>\n <div>\n <h2>{post.frontmatter.title}</h2>\n <Date>{post.frontmatter.date}</Date>\n <div dangerouslySetInnerHTML={{ __html: post.html }} />\n </div>\n </Layout>\n )\n}\n\nexport const query = graphql`\n query($slug: String!) {\n site {\n siteMetadata {\n domain\n }\n }\n markdownRemark(fields: { slug: { eq: $slug } }) {\n html\n fields {\n slug\n }\n frontmatter {\n title\n date(formatString: \"MMMM Do, YYYY\")\n }\n }\n }\n`\n"],"names":["Date","props","className","children","data","post","markdownRemark","canonicalLink","site","siteMetadata","domain","fields","slug","frontmatter","title","rel","href","date","dangerouslySetInnerHTML","__html","html"],"sourceRoot":""}