-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-index-js-b96844d44d9f4ab181ff.js.map
1 lines (1 loc) · 3.54 KB
/
component---src-pages-index-js-b96844d44d9f4ab181ff.js.map
1
{"version":3,"file":"component---src-pages-index-js-b96844d44d9f4ab181ff.js","mappings":"2LAiEA,UA1DkB,SAAC,GAAwB,IAAD,EAArBA,EAAqB,EAArBA,KAAMC,EAAe,EAAfA,SACnBC,GAAY,UAAAF,EAAKG,KAAKC,oBAAV,eAAwBC,QAAxB,QACZC,EAAQN,EAAKO,kBAAkBC,MAErC,OAAqB,IAAjBF,EAAMG,OAEN,gBAAC,IAAD,CAAQR,SAAUA,EAAUI,MAAOH,GACjC,gBAAC,IAAD,CAAKG,MAAM,cACX,gBAAC,IAAD,MACA,uLAUJ,gBAAC,IAAD,CAAQJ,SAAUA,EAAUI,MAAOH,GACjC,gBAAC,IAAD,CAAKG,MAAM,cACX,gBAAC,IAAD,MACA,sBAAIK,MAAO,CAAEC,UAAU,SACpBL,EAAMM,KAAI,SAAAC,GACT,IAAMR,EAAQQ,EAAKC,YAAYT,OAASQ,EAAKE,OAAOC,KAEpD,OACE,sBAAIC,IAAKJ,EAAKE,OAAOC,MACnB,2BACEE,UAAU,iBACVC,WAAS,EACTC,SAAS,6BAET,8BACE,0BACE,gBAAC,EAAAC,KAAD,CAAMC,GAAIT,EAAKE,OAAOC,KAAMO,SAAS,OACnC,wBAAMA,SAAS,YAAYlB,KAG/B,6BAAQQ,EAAKC,YAAYU,OAE3B,+BACE,qBACEC,wBAAyB,CACvBC,OAAQb,EAAKC,YAAYa,aAAed,EAAKe,SAE/CL,SAAS","sources":["webpack://gatsby-starter-blog/./src/pages/index.js"],"sourcesContent":["import * as React from \"react\"\nimport { Link, graphql } from \"gatsby\"\n\nimport Bio from \"../components/bio\"\nimport Layout from \"../components/layout\"\nimport Seo from \"../components/seo\"\n\nconst BlogIndex = ({ data, location }) => {\n const siteTitle = data.site.siteMetadata?.title || `Title`\n const posts = data.allMarkdownRemark.nodes\n\n if (posts.length === 0) {\n return (\n <Layout location={location} title={siteTitle}>\n <Seo title=\"All posts\" />\n <Bio />\n <p>\n No blog posts found. Add markdown posts to \"content/blog\" (or the\n directory you specified for the \"gatsby-source-filesystem\" plugin in\n gatsby-config.js).\n </p>\n </Layout>\n )\n }\n\n return (\n <Layout location={location} title={siteTitle}>\n <Seo title=\"All posts\" />\n <Bio />\n <ol style={{ listStyle: `none` }}>\n {posts.map(post => {\n const title = post.frontmatter.title || post.fields.slug\n\n return (\n <li key={post.fields.slug}>\n <article\n className=\"post-list-item\"\n itemScope\n itemType=\"http://schema.org/Article\"\n >\n <header>\n <h2>\n <Link to={post.fields.slug} itemProp=\"url\">\n <span itemProp=\"headline\">{title}</span>\n </Link>\n </h2>\n <small>{post.frontmatter.date}</small>\n </header>\n <section>\n <p\n dangerouslySetInnerHTML={{\n __html: post.frontmatter.description || post.excerpt,\n }}\n itemProp=\"description\"\n />\n </section>\n </article>\n </li>\n )\n })}\n </ol>\n </Layout>\n )\n}\n\nexport default BlogIndex\n\nexport const pageQuery = graphql`\n query {\n site {\n siteMetadata {\n title\n }\n }\n allMarkdownRemark(sort: { fields: [frontmatter___date], order: DESC }) {\n nodes {\n excerpt\n fields {\n slug\n }\n frontmatter {\n date(formatString: \"MMMM DD, YYYY\")\n title\n description\n }\n }\n }\n }\n`\n"],"names":["data","location","siteTitle","site","siteMetadata","title","posts","allMarkdownRemark","nodes","length","style","listStyle","map","post","frontmatter","fields","slug","key","className","itemScope","itemType","Link","to","itemProp","date","dangerouslySetInnerHTML","__html","description","excerpt"],"sourceRoot":""}