How can I display the last updated date on Dawn theme pages?

Hi,

In some pages, I’d like to add the author and last updated date (as it exists for blog posts).

I have an issue with the last updated date, I can’t find the right name of the field. I tried {{page.updated_at}} and {{page.published_at}} and none is working.

Do you have any idea?

Poke @LitCommerce :grinning_face: thx!!

Hi @MVUILL ,

You can use: {{ article.updated_at }}

Refer https://shopify.dev/api/liquid/objects/article#article-updated_at

Hope it helps!

Hi @LitCommerce

thanks for taking the time to answer my question!

I’m not talking about the field for a blog post, but for a page. I’m not using the blog, instead I’m creating pages with deep content and I’d like to add the last update date for them.

Hi @MVUILL ,

With page, it only supports published_at, refer https://shopify.dev/api/liquid/objects/page#page-published_at

So when you declare with updated_at it won’t be visible.

Hope it is clear to you.

1 Like

Ok thank you so much!

1 Like