Sep 28, 2025
The primary configuration files for the website are astro.config.mjs and src/config.ts
astro.config.mjssite: Website URLi18n: Internationalization configuration
locale: Supported languagesdefaultLocale: Default languagemarkdown
shikiConfig: Code block styling. Refer to Astro’s documentation Shikisrc/config.tssiteConfigtitle: Site titlesubTitle: Site subtitlefavicon: Site iconpageSize: Number of articles per pagetoc
enable: Enable table of contentsdepth: Table of contents depthcomments
enable: Enable comment featurebackendUrl: Url of the backendFor the backend project, refer to Momo-backend. Ensure all configurations are completed as specified, particularly for cross-domain domains.
profileConfigavatar: Profile picturename: Namedescription: Descriptionindexpage: Profile homepagelicenseConfigenable: Enable license display at the end of articlesname: License nameurl: License URLfriendLinkConfigname: Friend link nameavatar: Friend link iconurl: Friend link URLdescription: Friend link descriptionInternationalization configuration files are located in the src/i18n/ folder.
To modify the cover content for the homepage or other pages, edit the corresponding files within the src/i18n/language folder. Simply modify the cover.title and cover.subtitle fields as needed.