Skip to content

What's the best way to suppress the date on a particular page? #78

Answered by hugo-sid
moritzreiter asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @moritzreiter. Welcome to Hugo blog awesome discussions.

Thanks for posting this question.

on an "About" page, it doesn't make a lot of sense to me to show a date.

I agree. I have pushed few commits which make it optional to specify the date.

Solution

I was hoping I would be able to suppress the date by removing it from the meta data of the markdown file

You have to do exactly this. Simply omit the date parameter.

I observed that you have added this theme as Git module in your blog. Please update your Git module to make use of this feature.

Demo

Markdown file:

---
title: About
descrip…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@moritzreiter
Comment options

@hugo-sid
Comment options

Answer selected by moritzreiter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants