-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-index-js-a8b57182e60688a12d91.js.map
1 lines (1 loc) · 1.83 KB
/
component---src-pages-index-js-a8b57182e60688a12d91.js.map
1
{"version":3,"file":"component---src-pages-index-js-a8b57182e60688a12d91.js","mappings":"kJAIA,mBAAe,OAAGA,EAAH,EAAGA,KAAH,OACb,gBAAC,IAAD,KACE,2BACGA,EAAKC,kBAAkBC,MAAMC,KAAI,gBAAGC,EAAH,EAAGA,KAAH,OAChC,uBAAKC,IAAKD,EAAKE,IACb,gBAAC,KAAD,CACEC,GAAIH,EAAKI,OAAOC,KAChBC,MAAO,CACLC,eAAe,OACfC,MAAM,YAGR,0BACGR,EAAKS,YAAYC,MAAO,IACzB,wBACEJ,MAAO,CACLE,MAAM,SAFV,KAKKR,EAAKS,YAAYE,OAGxB,yBAAIX,EAAKY","sources":["webpack://docunext/./src/pages/index.js"],"sourcesContent":["import React from \"react\"\nimport { Link, graphql } from \"gatsby\"\nimport Layout from \"../components/layout\"\n\nexport default ({ data }) => (\n <Layout>\n <div>\n {data.allMarkdownRemark.edges.map(({ node }) => (\n <div key={node.id}>\n <Link\n to={node.fields.slug}\n style={{\n textDecoration: `none`,\n color: `inherit`,\n }}\n >\n <h3>\n {node.frontmatter.title}{\" \"}\n <span\n style={{\n color: `#bbb`,\n }}\n >\n — {node.frontmatter.date}\n </span>\n </h3>\n <p>{node.excerpt}</p>\n </Link>\n </div>\n ))}\n </div>\n </Layout>\n)\n\nexport const query = graphql`\n query {\n allMarkdownRemark(\n sort: { fields: [frontmatter___date], order: DESC }\n ) {\n totalCount\n edges {\n node {\n id\n fields {\n slug\n }\n frontmatter {\n title\n date(formatString: \"DD MMMM, YYYY\")\n }\n excerpt\n }\n }\n }\n }\n`\n"],"names":["data","allMarkdownRemark","edges","map","node","key","id","to","fields","slug","style","textDecoration","color","frontmatter","title","date","excerpt"],"sourceRoot":""}