-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-blog-tags-js-049a9e4d001bef8875ff.js
2 lines (2 loc) · 1.38 KB
/
component---src-pages-blog-tags-js-049a9e4d001bef8875ff.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{"+pmV":function(e,t,o){e.exports={post:"post-module--post--28Mq2",postShort:"post-module--postShort--2fce0",title:"post-module--title--3XBo2",coverImage:"post-module--coverImage--1GM7V",meta:"post-module--meta--3YtjE",tags:"post-module--tags--3RbqF",tag:"post-module--tag--16U9p",readMore:"post-module--readMore--3zWML",postContent:"post-module--postContent--1bfnt"}},MBZl:function(e,t,o){"use strict";o.r(t);var a=o("q1tI"),n=o.n(a),r=o("Wbzz"),l=o("vrFN"),s=o("Bl7J"),p=o("zpb6"),c=o("+pmV"),m=o.n(c);t.default=function(){var e=Object(r.useStaticQuery)("1535778708"),t={};return e.allMarkdownRemark.edges.forEach((function(e){e.node&&e.node.frontmatter&&e.node.frontmatter.tags&&e.node.frontmatter.tags.forEach((function(e){t[e]=(t[e]||0)+1}))})),n.a.createElement(n.a.Fragment,null,n.a.createElement(l.a,null),n.a.createElement(s.a,null,n.a.createElement("h1",null,"Blog Tags"),Object.keys(t).map((function(e){return n.a.createElement("p",{key:e},n.a.createElement(r.Link,{to:"/blog/tag/"+Object(p.toKebabCase)(e)+"/",key:Object(p.toKebabCase)(e)},n.a.createElement("span",{className:m.a.tag},"#",e)),n.a.createElement("span",null," (",t[e],")"))}))))}},zpb6:function(e,t){e.exports.toKebabCase=function(e){return e.replace(new RegExp("(\\s|_|-)+","gmi"),"-")}}}]);
//# sourceMappingURL=component---src-pages-blog-tags-js-049a9e4d001bef8875ff.js.map