-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-templates-blog-post-js-cef3cf6fec8c9e3170fe.js
2 lines (2 loc) · 1.44 KB
/
component---src-templates-blog-post-js-cef3cf6fec8c9e3170fe.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{yZlL:function(t,e,a){"use strict";a.r(e);var n=a("dI71"),l=a("q1tI"),r=a.n(l),i=a("TJpk"),o=a.n(i),s=a("Wbzz"),p=a("SbOt"),c=a("7oih"),m=a("p3AD");let u=function(t){function e(){return t.apply(this,arguments)||this}return Object(n.a)(e,t),e.prototype.render=function(){const t=this.props.data.markdownRemark,e=this.props.data.site.siteMetadata.title,a=t.excerpt,{previous:n,next:l}=this.props.pageContext;return r.a.createElement(c.a,{location:this.props.location,title:e},r.a.createElement(o.a,{htmlAttributes:{lang:"en"},meta:[{name:"description",content:a}],title:t.frontmatter.title+" | "+e}),r.a.createElement("h1",null,t.frontmatter.title),r.a.createElement("p",{style:{...Object(m.b)(-.2),display:"block",marginBottom:Object(m.a)(1),marginTop:Object(m.a)(-1)}},t.frontmatter.date),r.a.createElement("div",{dangerouslySetInnerHTML:{__html:t.html}}),r.a.createElement("hr",{style:{marginBottom:Object(m.a)(1)}}),r.a.createElement(p.a,null),r.a.createElement("ul",{style:{display:"flex",flexWrap:"wrap",justifyContent:"space-between",listStyle:"none",padding:0}},r.a.createElement("li",null,n&&r.a.createElement(s.Link,{to:n.fields.slug,rel:"prev"},"← ",n.frontmatter.title)),r.a.createElement("li",null,l&&r.a.createElement(s.Link,{to:l.fields.slug,rel:"next"},l.frontmatter.title," →"))))},e}(r.a.Component);e.default=u}}]);
//# sourceMappingURL=component---src-templates-blog-post-js-cef3cf6fec8c9e3170fe.js.map