[!NOTE]
mainbranchโ : Static build, can be deployed on any static hosting platform.
cloudflarebranch: Enables built-in comment system, only deployable on Cloudflare.
๐ฌ Live Demo: Vercel
Run the following command:
npx create-astro@latest --template tuyuritio/astro-theme-thought-lite
# Follow the interactive prompts to create the project
cd <your-project-name>
npm run dev
git clone <your-repo-url>
cd <your-repo-name>
npm install
npm run dev
Customize site configuration and internationalization (i18n) by modifying the following files:
.envastro.config.tssite.config.jsonFor details, refer to the Configuration Guide.
The theme provides the following commonly used commands:
| Command | Action | 
|---|---|
| npm install | Install project dependencies | 
| npm run new | Create a new content file | 
| npm run dev | Start the local development server (default: http://localhost:4321) | 
| npm run check | Run Astro type checking | 
| npm run build | Build the production version | 
| npm run preview | Preview the built site | 
| npm run update | Update project dependencies | 
The current branch can be fully static built and deployed on any static hosting platform.
For deployment methods on various platforms, refer to the Astro Official Deployment Guide.
Run the following commands to sync upstream updates:
git remote add theme https://github.com/tuyuritio/astro-theme-thought-lite.git
git fetch theme
git merge theme/main    # Add `--allow-unrelated-histories` flag for first update
npm install
Content creation is centralized in the src/content directory, mainly including:
note - Notes, focused on carefully crafted and detailed long-form worksjotting - Jottings, lightweight and immediate content recordingpreface - Preface, displayed on the homepage as the first impressioninformation - Information, containing various descriptive contentAll content sections support multiple languages. Create the corresponding language directory to start creating content. For details, refer to the Content Creation Guide.
All kinds of contributions are welcome and appreciated!
This project is licensed under GPLv3, allowing free modification and distribution, but the original copyright notice must be retained.