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

Blog post publication date #265

Open
feliciaan opened this issue Aug 1, 2018 · 4 comments · Fixed by #409
Open

Blog post publication date #265

feliciaan opened this issue Aug 1, 2018 · 4 comments · Fixed by #409
Assignees

Comments

@feliciaan
Copy link
Member

Currently the blog post publication date is set on the day the blog post is created, but we should actually move this to the date when the post is merged and published on the Zeus site.

@werthen
Copy link
Member

werthen commented Aug 8, 2018

Main problem with this is that we would need a hook of some sort which performs this edit when the merge request for said blogpost is accepted.

@werthen
Copy link
Member

werthen commented Aug 28, 2018

Related to #96

@JensTimmerman
Copy link
Member

JensTimmerman commented Oct 12, 2020

do you want the first creation of the file? the merge? or the last edit?
perhaps the merge and below the 'last edit' date if this is a different day?
What time format, just the date?
Geschreven op 2020-07-12T13:37:45+02:00 is probably a bit to fine grained?

e.g. what to show for

git log  --format='%ci' -- content/blog/20-21/bestuur20_21.md                                                                                                                 Mon Oct 12 23:40:57 2020
2020-07-12 13:37:45 +0200
2020-07-10 21:50:12 +0200
2020-07-06 17:06:55 +0200
2020-07-06 16:44:24 +0200

@JensTimmerman
Copy link
Member

what to do with blog posts from before the new site? (Date: Thu Jun 9 14:27:23 2016 +0200)

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