Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

Per default, set current date for newly created page - how?

Started by Endogen 9 years ago · 0 replies · 553 views
9 years ago

From time to time i real an old blog post it wrote and when i discover a type i update the post. The problem here is that per default this saves the current date and the post is on top, which i don't want.

I can of course set the date manually but how would i do that automatically? I would like, at the time a post is published, to set the current date & time, so that the next time i change a post that date will stay and i don't have to set that manually to keep the date.

👍 2

Suggested topics

Topic Participants Replies Views Activity
General · by ian russell, 4 days ago
2 107 3 days ago
General · by pamtbaau, 1 month ago
2 371 1 week ago
General · by Hanns Mattes, 1 month ago
2 355 2 weeks ago
General · by Andy Miller, 1 month ago
0 258 1 month ago
General · by Jerry Hunt, 1 month ago
2 398 1 month ago