Skip to content

ShunchiZhang/site-template

Repository files navigation

site-template

Fork, edit, live -- just customizing one readable file.

Demo: https://shunchi.dev/site-template/

Quick Start

  1. Fork this repo.
  2. Rename repo to your site name:
    1. Settings (Top Bar)
    2. General (Left Sidebar)
    3. Repository name -> Input your site name -> Click "Rename"
  3. Enable Github Pages:
    1. Settings (Top Bar)
    2. Pages (Left Sidebar)
    3. Source -> Change "Deploy from a branch" to "GitHub Actions"
  4. Run deployment workflow:
    1. Actions (Top Bar)
    2. Deploy to GitHub Pages (Left Sidebar)
    3. Click "Run workflow"
  5. Your site will be live at https://<your-username>.github.io/<your-site-name>/ after a few minutes.
  6. Edit src/content.jsx directly on GitHub, commit, and your site will be updated automatically.

Local Development

Alternatively, you can customize and preview your site locally.

git clone https://github.com/your-username/your-site-name
cd your-site-name
npm install
npm run dev

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors