Skip to content

Conversation

@snail-tourist
Copy link

@snail-tourist snail-tourist commented Aug 11, 2025

Type of change

  • Bug fix (a non-breaking change that fixes an issue)
  • New feature (a non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Other (please describe):

Checklist

  • I have read the CONTRIBUTING document.
  • I have checked to ensure that this Pull Request is not for personal changes.
  • I have performed a self-review of my own code.
  • My changes generate no new warnings.

Related Issue

Changes

  • Added lastUpdatedAt i18n key and translations for multiple languages
  • Updated [...slug].astro to pass lastUpdated to License component
  • Modified License.astro to display formatted last updated date if available
  • If updated: 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:

  1. Add an updated: field to a newly created or existing article, then access that article.
    Example: updated: 2024-11-29

  2. Alternatively, access the "Markdown Extended Features" article, which already includes an updated: field.

  3. Confirm that the "Last updated at" text appears in the License component at the bottom of the page.

  4. Access a test article that does not have an updated: field in its markdown file.

  5. 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
screenshots 2025-08-11 225019

screenshts 2025-08-12 004800


Issues that occur when translations are not applied in i18n screenshots 2025-08-11 224809

Additional Notes

- Added `lastUpdatedAt` i18n key and translations for multiple languages
- Updated `[...slug].astro` to pass `lastUpdated` to License component
- Modified License.astro to display formatted last updated date if available
@vercel
Copy link

vercel bot commented Aug 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
fuwari-yags Ready Ready Preview Comment Sep 18, 2025 0:12am

@vercel
Copy link

vercel bot commented Oct 12, 2025

@snail-tourist is attempting to deploy a commit to the zephyirdgmailcom's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant