Add an 'updated at' date to your pages
Some pages are more fluid than others. Sometimes a page is something you tend, like a Now page, a reading log, or a list of resources you keep adding to. Readers visiting these pages often want to know how current the content is, so it's common to put an "updated at" date on the page.
But, of course, it's too easy to forget to update this date manually! It's also work you really shouldn't have to do, and Pagecord is all about making your life easier!
Now you can embed the actual "updated at" time in your page content using the new {{ updated_at }} dynamic variable. For example:
Last updated: {{ updated_at }}
This variable renders a date in your blog's locale format – "24 Mar 2026" for English, "24/03/2026" for French, Spanish, and others.
There are a few other format options if you need something more specific:
{{ updated_at format: datetime }} → 24 Mar 2026 14:30 (locale + time)
{{ updated_at format: long }} → 24 March 2026 (English only)
{{ updated_at format: long_datetime }} → 24 March 2026 14:30 (English only)
{{ updated_at format: dd_mm_yyyy }} → 24/03/2026
{{ updated_at format: mm_dd_yyyy }} → 03/24/2026
{{ updated_at format: yyyy_mm_dd }} → 2026-03-24
This date will update automatically whenever you update the page – no more manual editing!
As with all dynamic variables, they only work in pages not posts. Also, the <time> element that gets added to you page has the CSS class updated-at if you want to style it with custom CSS.
As ever, the full documentation is in the help guide.