-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-templates-tag-js-6b5a3f3aa3567d8af8ff.js
2 lines (2 loc) · 1.77 KB
/
component---src-templates-tag-js-6b5a3f3aa3567d8af8ff.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{ccoC:function(e,t,a){"use strict";a.r(t),a.d(t,"pageQuery",(function(){return E}));var n=a("q1tI"),l=a.n(n),r=a("Wbzz"),i=a("N1om"),o=a.n(i),c=a("Kvkj"),s=a("vOnD"),m=a("InJ6"),u=m.h.colors,g=m.h.fontSizes,p=Object(s.c)(m.d).withConfig({displayName:"tag__StyledTagsContainer",componentId:"sc-1b47em6-0"})(["max-width:1000px;a{",";}h1{",";margin-bottom:50px;a{font-size:",";font-weight:400;}}ul{li{font-size:24px;h2{font-size:inherit;margin:0;a{color:",";}}.subtitle{color:",";font-size:",";.tag{margin-right:10px;}}}}"],m.g.inlineLink,m.g.flexBetween,g.lg,u.lightSlate,u.slate,g.sm);t.default=function(e){var t=e.pageContext,a=e.data,n=e.location,i=t.tag,s=a.allMarkdownRemark.edges;return l.a.createElement(c.k,{location:n},l.a.createElement(p,null,l.a.createElement("span",{className:"breadcrumb"},l.a.createElement("span",{className:"arrow"},"←"),l.a.createElement(r.Link,{to:"/pensieve"},"All memories")),l.a.createElement("h1",null,l.a.createElement("span",null,"#",i),l.a.createElement("span",null,l.a.createElement(r.Link,{to:"/pensieve/tags"},"View all tags"))),l.a.createElement("ul",{className:"fancy-list"},s.map((function(e){var t=e.node.frontmatter,a=t.title,n=t.slug,i=t.date,c=t.tags;return l.a.createElement("li",{key:n},l.a.createElement("h2",null,l.a.createElement(r.Link,{to:n},a)),l.a.createElement("p",{className:"subtitle"},l.a.createElement("time",null,new Date(i).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})),l.a.createElement("span",null," — "),c&&c.length>0&&c.map((function(e,t){return l.a.createElement(r.Link,{key:t,to:"/pensieve/tags/"+o()(e)+"/",className:"tag"},"#",e)}))))})))))};var E="4215373522"}}]);
//# sourceMappingURL=component---src-templates-tag-js-6b5a3f3aa3567d8af8ff.js.map