Momo Configuration Guide
2025-09-28
Website Information Configuration
The primary configuration files for the website are astro.config.mjs and src/config.ts
astro.config.mjs
site: Website URLi18n: Internationalization configurationlocale: Supported languagesdefaultLocale: Default language
markdownshikiConfig: Code block styling. Refer to Astro’s documentation Shiki
src/config.ts
siteConfig
title: Site titlesubTitle: Site subtitlefavicon: Site iconpageSize: Number of articles per pagetocenable: Enable table of contentsdepth: Table of contents depth
profileConfig
avatar: Profile picturename: Namedescription: Descriptionindexpage: Profile homepage
licenseConfig
enable: Enable license display at the end of articlesname: License nameurl: License URL
friendLinkConfig
name: Friend link nameavatar: Friend link iconurl: Friend link URLdescription: Friend link description
Internationalization Configuration
Internationalization 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.