Any way to display date in news feed taken from front matter of the post

I tried {{ .Date | time.Format “:date_medium” }} and {{ .PublishDate }} without any luck.
It looks that i’m doing something wrong here. Any suggestions?

I don’t understand the question. You need to provide some context.

I have news posts in content folder with following front matter:

title = 'Some title'
date = 2012-01-15
draft = false
tags = ['tag1','tag2','tag3']

Also i have news feed page where i would like to display these posts.
So the aim is very simple: to display dates along side with posts.

My best bet is that your page variable is not what you think it is. But since you do not provide context (not by a far cry!) it’s impossible to tell. A link to your repo would be helpful.