Using Publishdate Instead of LastMod

Hey everyone,

I’m trying to get my posts to reflect the publishdate instead of the lastupdated date.

This is my post: http://javierngkh.rbind.io/post/2017-06-23-stupidest-person-in-room/ and the page-meta.html file can be found here: https://github.com/remembrance1/javierngkh/tree/master/layouts/partials

I’m using the HUGO ACADEMIC theme and am wondering how do I get the post page to display the publishdate instead?

Thank you so much!!

You should be able to remap your dates in config.toml, something like this:

[frontmatter]
date = ["publishDate", ":default"]
lastmod = ["publishDate", ":default"]
1 Like