Example of showDateUpdated: true
in frontmatter?
#866
-
Is there an example of I am turning it on, but don't see anything changing, so I am not sure what to expect. FYI, my |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@jamesbraza did you find the answer for this? |
Beta Was this translation helpful? Give feedback.
-
@jamesbraza I had the same issue today and came across your post. If you (after almost a year) still have the problem or others are looking for it, here is my solution. If you put “showDateUpdated=true” in the params.toml, you won't see anything yet.
Then you always have to adjust the date manually when you edit or update the article. |
Beta Was this translation helpful? Give feedback.
@jamesbraza I had the same issue today and came across your post. If you (after almost a year) still have the problem or others are looking for it, here is my solution.
If you put “showDateUpdated=true” in the params.toml, you won't see anything yet.
You have to enter the command “lastmod: ‘2025-01-24’” in the respective article (content - posts --> e.g. myarticlename.md) in the frontmatters.
Then you always have to adjust the date manually when you edit or update the article.
In the article preview and in the article you will then see the updated date in addition to the original date.
I have not current…