curtiscde / hugo-theme-massively

Massively theme for Hugo static site generator
https://hugo-theme-massively.netlify.app
Other
155 stars 138 forks source link

Date is still shown when unset #50

Closed Smirl closed 6 years ago

Smirl commented 6 years ago

When the date is not set in Front Matter it is set to 0.

In the site this shows as January 1st, 0001 when the templates have the intention to hide the date when it is "false".

I will raise a PR to fix this with the answer outlined in this post: https://discourse.gohugo.io/t/show-content-if-date-is-set-in-frontmatter/1974

The files that need to be changed are:

curtiscde commented 6 years ago

Closing issue as #51 has been merged to master as part of Release 4.2.1