-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-templates-tags-jsx-71f4ba5e5cd3574198ee.js
2 lines (2 loc) · 1.93 KB
/
component---src-templates-tags-jsx-71f4ba5e5cd3574198ee.js
1
2
(self.webpackChunkgatsby_starter_blog=self.webpackChunkgatsby_starter_blog||[]).push([[575],{951:function(t,e,l){"use strict";l.d(e,{Z:function(){return o}});var n=l(3552),r=l(7294),a=l(5444);var s=l(1261),o=function(t){function e(){return t.apply(this,arguments)||this}return(0,n.Z)(e,t),e.prototype.render=function(){var t=this.props.posts;return 0===t.length?r.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).'):r.createElement("div",null,t.map((function(t){var e=t.frontmatter.title||t.fields.slug;return r.createElement("article",{key:t.fields.slug,className:"postlist-module--post--2bwbt",itemScope:!0,itemType:"http://schema.org/Article"},r.createElement("header",null,r.createElement(a.Link,{to:t.fields.slug,itemProp:"url",className:"postlist-module--url--hKTZc"},r.createElement("h2",{className:"postlist-module--title--37liP",itemProp:"headline"},e)),r.createElement("small",{className:"postlist-module--date--2fyT-"},t.frontmatter.date),r.createElement(s.Z,{tags:t.frontmatter.tags})),r.createElement("section",null,r.createElement("p",{className:"postlist-module--excerpt--1-H3J",dangerouslySetInnerHTML:{__html:t.frontmatter.description||t.excerpt},itemProp:"description"})))})))},e}(r.Component)},2222:function(t,e,l){"use strict";l.r(e);var n=l(7294),r=l(5444),a=l(2265),s=l(951);e.default=function(t){var e,l=t.pageContext,o=t.data,i=t.location,c=l.tag,u=o.allMarkdownRemark,m=u.edges,p=u.totalCount,d=p+" post"+(1===p?"":"s")+' tagged with "'+c+'"',f=(null===(e=o.site.siteMetadata)||void 0===e?void 0:e.title)||"Title";return n.createElement(a.Z,{location:i,title:f},n.createElement("div",null,n.createElement("h1",null,d),n.createElement(s.Z,{posts:m.map((function(t){return t.node}))}),n.createElement(r.Link,{to:"/tags"},"All tags")))}}}]);
//# sourceMappingURL=component---src-templates-tags-jsx-71f4ba5e5cd3574198ee.js.map