Skip to content
/ Twilight Public template
forked from Spr-Aachen/Twilight

A CMS integrated static blog template build with Astro framework

License

Notifications You must be signed in to change notification settings

screamingshark/Twilight

 
 

Repository files navigation

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 build with Astro framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Astro 65.2%
  • TypeScript 14.3%
  • CSS 11.2%
  • Svelte 6.1%
  • JavaScript 1.6%
  • Stylus 1.6%