-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-index-js-350e9b4aa85349fee1e3.js.map
1 lines (1 loc) · 3.66 KB
/
component---src-pages-index-js-350e9b4aa85349fee1e3.js.map
1
{"version":3,"file":"component---src-pages-index-js-350e9b4aa85349fee1e3.js","mappings":"+NA+DA,UAxDkB,IAAyB,IAAD,MAAvB,KAAEA,EAAI,SAAEC,GAAU,EACnC,MAAMC,GAAkC,QAAtB,EAAAF,EAAKG,KAAKC,oBAAY,aAAtB,EAAwBC,QAAK,QACzCC,EAAQN,EAAKO,kBAAkBC,MAErC,OAAqB,IAAjBF,EAAMG,OAEN,gBAAC,IAAM,CAACR,SAAUA,EAAUI,MAAOH,GACjC,gBAAC,IAAG,MACJ,yBAAG,8JAUP,gBAAC,IAAM,CAACD,SAAUA,EAAUI,MAAOH,GACjC,gBAAC,IAAG,MACJ,sBAAIQ,MAAO,CAAEC,UAAU,SACpBL,EAAMM,KAAIC,IACT,MAAMR,EAAQQ,EAAKC,YAAYT,OAASQ,EAAKE,OAAOC,KAEpD,OACE,sBAAIC,IAAKJ,EAAKE,OAAOC,MACnB,2BACEE,UAAU,iBACVC,WAAS,EACTC,SAAS,6BAET,8BACE,0BACE,gBAAC,EAAAC,KAAI,CAACC,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,kBAIZ,KAIJ,EAWN,MAAMM,EAAO,IAAM,gBAAC,IAAG,CAACxB,MAAM,a","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 <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 <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\n/**\n * Head export to define metadata for the page\n *\n * See: https://www.gatsbyjs.com/docs/reference/built-in-components/gatsby-head/\n */\nexport const Head = () => <Seo title=\"All posts\" />\n\nexport const pageQuery = graphql`\n {\n site {\n siteMetadata {\n title\n }\n }\n allMarkdownRemark(sort: { frontmatter: { date: 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","Head"],"sourceRoot":""}