{"version":3,"sources":["webpack:///./src/templates/blog.js"],"names":["Index","data","pageContext","nextPagePath","previousPagePath","posts","allMarkdownRemark","edges","title","keywords","map","node","id","autoExcerpt","excerpt","frontmatter","date","path","author","coverImage","tags","key","previousPath","previousLabel","nextPath","nextLabel"],"mappings":"4FAAA,gFAgGeA,UAxFD,SAAC,GAA+D,IAA7DC,EAA4D,EAA5DA,KAA4D,IAAtDC,YAAeC,EAAuC,EAAvCA,aAAcC,EAAyB,EAAzBA,iBAEpBC,EAC1BJ,EADFK,kBAAqBC,MAGvB,OACE,oCACE,kBAAC,IAAD,CAAKC,MAAM,OAAOC,SAAU,CAAC,YAC7B,kBAAC,IAAD,KACGJ,EAAMK,KAAI,YAAe,IAAZC,EAAW,EAAXA,KAEVC,EAWED,EAXFC,GACSC,EAUPF,EAVFG,QAFF,EAYIH,EATFI,YACEP,EAJJ,EAIIA,MACAQ,EALJ,EAKIA,KACAC,EANJ,EAMIA,KACAC,EAPJ,EAOIA,OACAC,EARJ,EAQIA,WACAL,EATJ,EASIA,QACAM,EAVJ,EAUIA,KAIJ,OACE,kBAAC,IAAD,CACEC,IAAKT,EACLJ,MAAOA,EACPQ,KAAMA,EACNC,KAAMA,EACNC,OAAQA,EACRC,WAAYA,EACZC,KAAMA,EACNN,QAASA,GAAWD,OAK1B,kBAAC,IAAD,CACES,aAAclB,EACdmB,cAAc,cACdC,SAAUrB,EACVsB,UAAU","file":"component---src-templates-blog-js-ec5ec9cf89f540872bb7.js","sourcesContent":["import React from 'react'\nimport PropTypes from 'prop-types'\nimport { graphql } from 'gatsby'\nimport SEO from '../components/seo'\nimport Layout from '../components/layout'\nimport Post from '../components/post'\nimport Navigation from '../components/navigation'\n\nconst Index = ({ data, pageContext: { nextPagePath, previousPagePath } }) => {\n const {\n allMarkdownRemark: { edges: posts },\n } = data\n\n return (\n <>\n \n \n {posts.map(({ node }) => {\n const {\n id,\n excerpt: autoExcerpt,\n frontmatter: {\n title,\n date,\n path,\n author,\n coverImage,\n excerpt,\n tags,\n },\n } = node\n\n return (\n \n )\n })}\n\n \n \n >\n )\n}\n\nIndex.propTypes = {\n data: PropTypes.object.isRequired,\n pageContext: PropTypes.shape({\n nextPagePath: PropTypes.string,\n previousPagePath: PropTypes.string,\n }),\n}\n\nexport const postsQuery = graphql`\n {\n allMarkdownRemark(\n filter: { fileAbsolutePath: { regex: \"//posts//\" } }\n sort: { fields: [frontmatter___date], order: DESC }\n ) {\n edges {\n node {\n id\n excerpt\n frontmatter {\n title\n date(formatString: \"DD MMMM YYYY\")\n path\n author\n excerpt\n tags\n coverImage {\n childImageSharp {\n fluid(maxWidth: 800) {\n ...GatsbyImageSharpFluid\n }\n }\n }\n }\n }\n }\n }\n }\n`\n\nexport default Index\n"],"sourceRoot":""}