Hiding the post date in blog posts
The date appears at the top of posts. How do I keep intact the date next to post titles in the archive but hide it in posts? Thanks.
Hello! The answer will depend on which template you are using. If you tell me which template you have, I'd be happy to provide specific steps.
More generally, you will want to fork an editable copy of your template if you haven't already. Then you will want to:
- Open the template view entry.html, which is used to render the permalink page for each entry, and remove the line or lines which reference the tag
{{date}}
. - Open the template view entries.html, which is used to render the index page for your site, and remove the line or lines which reference the tag
{{date}}
.
If you happen to be using the Blog template, you would remove:
- lines 25 through 32 from entry.html
- line 12 and line 25 from entries.html
Hi, Thanks for the reply. I'm using the Essay theme, if it makes a difference.
Answered 3 years ago · Edit answer