Closed zanhk closed 1 year ago
change-language-in-dynamic-pages.js
posts.astro
[...page].astro
[slug].astro
These changes improve code organization and ensure that blog posts are properly localized.
6ae3156
View logs
change-language-in-dynamic-pages.js
script to use a simplified format.posts.astro
component to include localized paths.[...page].astro
files to include the "blog" prefix.[slug].astro
files to retrieve and display post data correctly based on language selection.These changes improve code organization and ensure that blog posts are properly localized.