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BAAC,IAAD,CAAKZ,MAAM,SACX,gBAAC,IAAD,MACA,uLAUJ,gBAAC,IAAD,CAAQW,SAAUA,EAAUX,MAAOY,GACjC,gBAAC,IAAD,CAAKZ,MAAM,SACX,gBAAC,IAAD,MACA,sBAAIiB,MAAO,CAAEC,UAAU,SACpBL,EAAMM,KAAI,SAAAC,GACT,IAAMpB,EAAQoB,EAAKC,YAAYrB,OAASoB,EAAKE,OAAOC,KACpD,OACE,sBAAIC,IAAKJ,EAAKE,OAAOC,KAAMpC,UAAU,kEACnC,gBAAC,IAAD,CACEA,UAAU,GACVY,KAAMqB,EAAKE,OAAOC,KAClBvB,MAAOA,EACPC,KAAMmB,EAAKC,YAAYpB,KACvBC,YAAakB,EAAKC,YAAYnB,YAC9BC,QAASiB,EAAKjB,QACdC,SAAUgB,EAAKC,YAAYjB,mB","sources":["webpack://gatsby-starter-blog/./src/components/bio.js","webpack://gatsby-starter-blog/./src/components/postItem.js","webpack://gatsby-starter-blog/./src/pages/index.js"],"sourcesContent":["/**\n * Bio component that queries for data\n * with Gatsby's useStaticQuery component\n *\n * See: https://www.gatsbyjs.com/docs/use-static-query/\n */\n\nimport * as React from \"react\"\nimport { useStaticQuery, graphql, Link } from \"gatsby\"\nimport { StaticImage } from \"gatsby-plugin-image\"\n\nconst Bio = () => {\n const data = useStaticQuery(graphql`\n query BioQuery {\n site {\n siteMetadata {\n author {\n name\n summary\n }\n }\n }\n }\n `)\n\n // Set these values by editing \"siteMetadata\" in gatsby-config.js\n const author = data.site.siteMetadata?.author\n\n return (\n \n \n
\n

\n 这里是{author?.name}\n

\n

\n {author?.summary || null}\n

\n
\n \n )\n}\n\nexport default Bio\n","import * as React from \"react\"\nimport PropTypes from \"prop-types\"\nimport { Link } from \"gatsby\"\n\nconst PostItem = ({ link, title, date, description, excerpt, category }) => {\n return (\n \n
\n

\n \n {title}\n \n

\n {`${date} | ${category}`}\n
\n
\n \n
\n \n\n )\n}\n\nexport default PostItem\n\nPostItem.propTypes = {\n link: PropTypes.string,\n title: PropTypes.string,\n date: PropTypes.string,\n description: PropTypes.string,\n excerpt: PropTypes.string\n}","import * as React from \"react\"\nimport { graphql } from \"gatsby\"\n\nimport Bio from \"../components/bio\"\nimport Layout from \"../components/layout\"\nimport Seo from \"../components/seo\"\nimport PostItem from \"../components/postItem\"\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 \n \n \n

\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

\n
\n )\n }\n\n return (\n \n \n \n
    \n {posts.map(post => {\n const title = post.frontmatter.title || post.fields.slug\n return (\n
  1. \n \n
  2. \n )\n })}\n
\n
\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 category\n }\n }\n }\n }\n`\n"],"names":["author","useStaticQuery","site","siteMetadata","Link","className","to","S","layout","formats","src","width","height","quality","alt","name","summary","link","title","date","description","excerpt","category","itemScope","itemType","itemProp","dangerouslySetInnerHTML","__html","data","location","siteTitle","posts","allMarkdownRemark","nodes","length","style","listStyle","map","post","frontmatter","fields","slug","key"],"sourceRoot":""}