Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow content without PublishDate, eliminates extraneous date output. #141

Merged

Conversation

jeremyrcampb
Copy link

Some pages (e.g. an About Us page) I don't want to display a PublishedDate. I can simply omit the date front-matter, but then the page displays an extraneous date:

<p class="blog-post-meta">
<time datetime="0001-01-01T00:00:00Z">
</p>

The proposed change will omit timestamp when date is not set.

@alanorth alanorth merged commit 7dbe547 into alanorth:master Oct 29, 2020
@alanorth
Copy link
Owner

Sure this sounds reasonable. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants