Spr-Aachen / Twilight

一个支持后台管理的静态博客模板 | A CMS integrated static blog template

Home Page:https://twilight.spr-aachen.com

Repository from Github https://github.comSpr-Aachen/TwilightRepository from Github https://github.comSpr-Aachen/Twilight

Twilight

Desktop
Mobile_4 Mobile_2 Mobile_1 Mobile_3 Mobile_5

A CMS integrated static blog template built with Astro framework.

Bilibili  YouTube

🖥️ Live Demo 📝 Documentation

English | 中文


📦 Installation

  1. Clone the repository:

    git clone https://github.com/Spr-Aachen/Twilight.git
    cd Twilight
  2. Install dependencies:

    # Install pnpm if not already installed
    npm install -g pnpm
    
    # Install project dependencies
    pnpm install
  3. Configure your blog:

  4. Start the development server:

    pnpm dev

🚀 Deployment

Deploy your blog to any static hosting platform

⚡ Commands

Command Action
pnpm install Install dependencies
pnpm dev Start local dev server
pnpm build Build production site to ./dist/
pnpm preview Preview build locally before deployment
pnpm check Run Astro error checking
pnpm format Format code with Biome
pnpm lint Check and fix code issues
pnpm new-post <filename> Create a new blog post
pnpm astro ... Run Astro CLI commands

🙏 Acknowledgements

About

一个支持后台管理的静态博客模板 | A CMS integrated static blog template

https://twilight.spr-aachen.com

License:MIT License


Languages

Language:Astro 65.0%Language:TypeScript 14.4%Language:CSS 11.2%Language:Svelte 6.1%Language:JavaScript 1.6%Language:Stylus 1.6%Language:HTML 0.0%