The idea isn’t mine:
http://chris.beams.io/posts/epoch/
But I like it – and it would be easy to implement in Hugo.
I thought about just adding an alias directly in the content generator, but I agree with Chris Beams in the post above; it is better with a dedicated field.
So to sum it up:
- Add a timestamp field that defaults to epoch minutes on content creation time
- Add some knobs:
- Turn this timestamp feature on/off
- Use epoch seconds instead of minutes
- Add a custom epoch (for personal blogs, this could enable having a post about your birth with timestamp=0)
Any thoughts?