-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-templates-blog-post-js-5a1bdd07e407163fbc4d.js
2 lines (2 loc) · 1.7 KB
/
component---src-templates-blog-post-js-5a1bdd07e407163fbc4d.js
1
2
(self.webpackChunkarrrni_github_io=self.webpackChunkarrrni_github_io||[]).push([[989],{4870:function(e,t,n){"use strict";n.r(t);var a=n(3552),r=n(7294),l=n(5414),i=n(5444),s=n(7361),c=n.n(s),o=n(4826),m=n(9678),p=function(e){function t(){return e.apply(this,arguments)||this}return(0,a.Z)(t,e),t.prototype.render=function(){var e=this.props.data.markdownRemark,t=c()(this.props,"data.site.siteMetadata.title"),n=e.excerpt,a=this.props.pageContext,s=a.previous,p=a.next;return r.createElement(m.Z,{location:this.props.location,title:t},r.createElement(l.Z,{htmlAttributes:{lang:"en"},meta:[{name:"description",content:n}],title:e.frontmatter.title+" | "+t}),r.createElement("div",{className:"content has-text-centered"},r.createElement("h1",{className:"title"},e.frontmatter.title),r.createElement("div",{class:"tags has-addons level-item"},r.createElement("span",{class:"tag is-rounded is-info"},"@arrrni"),r.createElement("span",{class:"tag is-rounded"},e.frontmatter.date))),r.createElement("div",{className:"content",dangerouslySetInnerHTML:{__html:e.html}}),r.createElement("hr",null),e.frontmatter.categories.map((function(e){return r.createElement(i.Link,{to:"/category/"+e},r.createElement("span",{class:"tag"},e))})),r.createElement("hr",null),r.createElement(o.Z,null),r.createElement("ul",{style:{display:"flex",flexWrap:"wrap",justifyContent:"space-between",listStyle:"none",padding:0}},r.createElement("li",null,s&&r.createElement(i.Link,{to:s.fields.slug,rel:"prev"},"← ",s.frontmatter.title)),r.createElement("li",null,p&&r.createElement(i.Link,{to:p.fields.slug,rel:"next"},p.frontmatter.title," →"))))},t}(r.Component);t.default=p}}]);
//# sourceMappingURL=component---src-templates-blog-post-js-5a1bdd07e407163fbc4d.js.map