-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
design decisionNeeds consideration and designNeeds consideration and design
Description
dateis very important for determining whether a post is published, i.e. a post with adatein the future will not be visible.- As of today, the
datefield is used to construct the URL using thePOST_PREFIXsettings, e.g./2024/11/28/my-blog-post - As of today, we're not really using the
modified_datefor anything useful.
The modified_date uses Django's auto_now=True setting in the model to update each time the blog post is updated, but what should we use it for? Some ideas...
- build the URL off the
modified_dateinstead? I don't know of any other blogging system that does this. It would break the previous URL and would result in unexpected behaviour. Not a good idea. 👎 - Used in the sitemap? Currently building this out now, so will update soon. ⏰
- We don't have a template tag for it, but could be useful to show the modified date so that visitors know that it has been updated since original publishing. 👍
- Although the template tag should have some logic so that if the modified date is within a certain timespan from the published date, it shows nothing. 🤔
- ...
Metadata
Metadata
Assignees
Labels
design decisionNeeds consideration and designNeeds consideration and design
Projects
Status
Backlog