From 06a1569021432b0b68ac60531a76441bff2e6f58 Mon Sep 17 00:00:00 2001 From: benjaminramey Date: Mon, 5 Oct 2020 17:38:09 -0500 Subject: [PATCH] Add month and day to archive list --- src/pages/archive.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/archive.js b/src/pages/archive.js index af9f272..1030aab 100644 --- a/src/pages/archive.js +++ b/src/pages/archive.js @@ -14,7 +14,7 @@ export default function Archive({ data }) { const postListItems = yg.edges.map(({node}) => { return (
  • - {node.frontmatter.title} + {node.frontmatter.date} {node.frontmatter.title}
  • ); }); @@ -48,6 +48,7 @@ export const query = graphql` } frontmatter { title + date(formatString: "MMM Do") } } }