feat: Add support for displaying last updated date on License component #592
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Type of change
Checklist
Related Issue
Changes
lastUpdatedAti18n key and translations for multiple languages[...slug].astroto passlastUpdatedto License componentupdated:does not exist in the markdown file, that information will not be displayed in the License component.Note
To prevent layout issues on the blog site, translations in other languages have been added using an automatic translation tool. Please have them reviewed by native speakers if needed.
How To Test
Test Procedure:
Add an
updated:field to a newly created or existing article, then access that article.Example:
updated: 2024-11-29Alternatively, access the "Markdown Extended Features" article, which already includes an
updated:field.Confirm that the "Last updated at" text appears in the License component at the bottom of the page.
Access a test article that does not have an
updated:field in its markdown file.Confirm that the "Last updated at" text is not displayed in the License component at the bottom of the page.
Screenshots (if applicable)
When functioning normally

Issues that occur when translations are not applied in i18n
Additional Notes