The commit mainly revamps the code to support internationalization in various pages like pricing, docs, blog, etc. It modifies the code to generate metadata asynchronously, accommodating internationalized page titles and subtitles. Also, the commit restructures CMS Client scripts, particularly for ContentLayer and Wordpress. For Wordpress, it updates API fetch routes and handles embedded children data. Furthermore, unnecessary logging statements are cleaned up, and minor updates are done for better UI and code efficiency.
CMS/Contentlayer - @kit/contentlayer
Implementation of the CMS layer using the Contentlayer library.
This implementation is used when the host app's environment variable is set as:
CMS_CLIENT=contentlayer