Is there a way to hide the "last edited" date if it was longer than a specific period, for example 30 days, a year etc?
Background: if we have recently updated an article, we want users to see that it recently changed and instructions they may have followed previously may no longer be relevant or may have been corrected.
This is the code that we have in the theme at the moment:
{{#is article.created_at article.edited_at}}
{{date article.created_at timeago=true}}
{{else}}
{{t 'updated'}} {{date article.edited_at timeago=true}}
{{/is}}