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 · 620 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 jean-louis67, 3 weeks ago
2 308 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 310 3 weeks ago
General · by Veehem, 4 weeks ago
0 263 4 weeks ago
General · by milkboy, 4 weeks ago
0 264 4 weeks ago
General · by ian russell, 1 month ago
2 335 1 month ago