-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-index-js-350e9b4aa85349fee1e3.js
2 lines (2 loc) · 1.44 KB
/
component---src-pages-index-js-350e9b4aa85349fee1e3.js
1
2
"use strict";(self.webpackChunkgatsby_starter_blog=self.webpackChunkgatsby_starter_blog||[]).push([[678],{6558:function(e,t,l){l.r(t),l.d(t,{Head:function(){return i}});var n=l(7294),r=l(1883),a=l(8771),o=l(8678),s=l(9357);t.default=e=>{var t;let{data:l,location:s}=e;const i=(null===(t=l.site.siteMetadata)||void 0===t?void 0:t.title)||"Title",c=l.allMarkdownRemark.nodes;return 0===c.length?n.createElement(o.Z,{location:s,title:i},n.createElement(a.Z,null),n.createElement("p",null,'No blog posts found. Add markdown posts to "content/blog" (or the directory you specified for the "gatsby-source-filesystem" plugin in gatsby-config.js).')):n.createElement(o.Z,{location:s,title:i},n.createElement(a.Z,null),n.createElement("ol",{style:{listStyle:"none"}},c.map((e=>{const t=e.frontmatter.title||e.fields.slug;return n.createElement("li",{key:e.fields.slug},n.createElement("article",{className:"post-list-item",itemScope:!0,itemType:"http://schema.org/Article"},n.createElement("header",null,n.createElement("h2",null,n.createElement(r.Link,{to:e.fields.slug,itemProp:"url"},n.createElement("span",{itemProp:"headline"},t))),n.createElement("small",null,e.frontmatter.date)),n.createElement("section",null,n.createElement("p",{dangerouslySetInnerHTML:{__html:e.frontmatter.description||e.excerpt},itemProp:"description"}))))}))))};const i=()=>n.createElement(s.Z,{title:"All posts"})}}]);
//# sourceMappingURL=component---src-pages-index-js-350e9b4aa85349fee1e3.js.map