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

Automate setting date in the header #453

Open
sreeram-venkitesh opened this issue Nov 4, 2024 · 1 comment
Open

Automate setting date in the header #453

sreeram-venkitesh opened this issue Nov 4, 2024 · 1 comment

Comments

@sreeram-venkitesh
Copy link
Member

sreeram-venkitesh commented Nov 4, 2024

We have a date field in the markdown header/frontmatter for every post.

---
layout: post
title: Week Ending November 3, 2024
date: 2024-11-03 22:00:00 -0000
slug: 2024-11-03-update
---

Currently the date is updated manually before publishing. The date value cannot be in the future, else it won't show up in the website. Having a wrong date would also mess up RSS feeds. The date should be set to whatever time we are publishing the newsletter/merge the PR to main. We can possibly automate this with a git hook that fires after every commit or before we merge the PR in GitHub.

@samuelbartels20
Copy link

Please assign me, i will get it done

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

No branches or pull requests

2 participants