A static blog based on Astro
Find a file
2026-03-27 11:12:23 +02:00
.github/workflows update workflow 2026-03-26 10:47:12 +02:00
.vscode "Initial commit from Astro" 2026-03-24 16:19:09 +02:00
build added locale switch and adjusted css 2026-03-25 00:28:23 +02:00
docs update doc 2026-03-27 11:12:23 +02:00
public Added SEO 2026-03-25 17:26:22 +02:00
src shrink width 2026-03-26 19:35:50 +02:00
.env.example move giscus token to .env 2026-03-25 12:45:43 +02:00
.gitignore "Initial commit from Astro" 2026-03-24 16:19:09 +02:00
astro.config.mjs Added SEO 2026-03-25 17:26:22 +02:00
package-lock.json Added SEO 2026-03-25 17:26:22 +02:00
package.json Added SEO 2026-03-25 17:26:22 +02:00
README-en.md Replace feature mockup image with a larger version 2026-03-26 14:55:27 +02:00
README.md Fix typo in README.md for clarity 2026-03-26 15:09:22 +02:00
tsconfig.json Finished structure 2026-03-24 19:33:01 +02:00

SanYeCao-Blog

[中文 | English]


三叶草Blog
🌊轻度/快速/美观🌊

Built With
Static Badge Static Badge Static Badge

😋 特性


image
  • 使用纯静态页面,响应迅速,轻盈美观
  • 操作简易Github Action自动部署
  • Astro Is All You Need

更多预览请移步:Images.md

🧳 使用

1. Fork 这个仓库

image

并将其克隆到本地。

2. 运行/构建

Important

在开始之前,请先将根目录的.env.example重命名为.env并配置好环境变量,否则功能会不完善

有关环境变量的说明详见:EnvVariables.md

  • 本地调试

    npm run dev
    
  • 本地构建

    npm run build
    

3. 部署

使用Github Actions自动化部署

详情参见:GithubActions.md

手动部署

将生成的dist/目录上传至你的服务器,使用NGINX指向index.html。