Article Customization

Article Expiration Reminder


If you want to add expiration reminders to your theme's articles, you can add an expires field in the Front-matter of the article. The format should be YYYY-MM-DD HH:MM:SS, for example:

title: Article Title
date: 2023-01-01 12:00:00
expires: 2023-08-31 23:59:59

This way, when users access this article, if the current time has already exceeded the time specified in the expires field, a red expiration reminder will be displayed below the article title.


Expiry Reminder Example