-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-templates-blog-post-js-ce887ec6a9ac941f0de6.js.map
1 lines (1 loc) · 1.57 KB
/
component---src-templates-blog-post-js-ce887ec6a9ac941f0de6.js.map
1
{"version":3,"sources":["webpack:///./src/templates/blog-post.js"],"names":["BlogPost","post","data","markdownRemark","siteMetadata","title","frontmatter","date","style","marginTop","dangerouslySetInnerHTML","__html","html","marginBottom","query"],"mappings":"2FAAA,sIAOe,SAASA,EAAT,GAA6B,IAClCC,EADiC,EAARC,KACbC,eAElB,OACI,kBAAC,IAAD,CAAYC,aAAc,CAAEC,MAAOJ,EAAKK,YAAYD,QAChD,4BAAKJ,EAAKK,YAAYD,OACtB,4CAAkBJ,EAAKK,YAAYC,MACnC,yBAAKC,MAAO,CAAEC,UAAW,QAAUC,wBAAyB,CAAEC,OAAQV,EAAKW,QAC3E,yBAAKJ,MAAO,CAAEK,aAAc,WACxB,kBAAC,IAAD,QAMT,IAAMC,EAAK","file":"component---src-templates-blog-post-js-ce887ec6a9ac941f0de6.js","sourcesContent":["import React from \"react\";\nimport { graphql } from \"gatsby\";\n\nimport MainLayout from \"../layouts/main\";\n\nimport Intro from \"../templates/intro\";\n\nexport default function BlogPost({ data }) {\n const post = data.markdownRemark;\n\n return (\n <MainLayout siteMetadata={{ title: post.frontmatter.title }}>\n <h2>{post.frontmatter.title}</h2>\n <i>Published on: {post.frontmatter.date}</i>\n <div style={{ marginTop: \"1rem\" }} dangerouslySetInnerHTML={{ __html: post.html }} />\n <div style={{ marginBottom: \"0.5rem\" }}>\n <Intro />\n </div>\n </MainLayout>\n )\n}\n\nexport const query = graphql`\n query($slug: String!) {\n markdownRemark(fields: { slug: { eq: $slug } }) {\n html\n frontmatter {\n title\n date(formatString: \"DD MMMM, YYYY\")\n }\n }\n }\n`"],"sourceRoot":""}