From 3e659c1623eaeaa35521229b82f1372e33216c66 Mon Sep 17 00:00:00 2001 From: Nadja Zollo Date: Wed, 28 Sep 2016 17:26:26 +0200 Subject: [PATCH] Use correct front matter variable to access date value of post data. --- components/SitePost/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/SitePost/index.jsx b/components/SitePost/index.jsx index e93f60c..4285c55 100644 --- a/components/SitePost/index.jsx +++ b/components/SitePost/index.jsx @@ -28,7 +28,7 @@ class SitePost extends React.Component {

{ post.title }

- Published { moment(post.datePublished).format('D MMM YYYY') } + Published { moment(post.date).format('D MMM YYYY') }