使用 Astro 框架和 TailwindCSS 搭建的简单个人博客
应该是纯静态SSG, 目前部署在Vercel
部分样式来源:
https://without.boats/blog/
Wordpress theme Pixl 源码:pixl
因为markdown-to-txt
使用了但没有添加lodash为自己的依赖,需要手动安装 npm install lodash
- dark theme
- archiver page / timeline (mobile)
- code block style (dark theme)
- font style
- code copy
- i18n
- comment
- search
- content sperate
- theme toggle icon
- Footer: social media link
- post language switch (preview and main)
All commands are run with pnpm from the root of the project, from a terminal:
Command | Action |
---|---|
pnpm install |
Installs dependencies |
pnpm run dev |
Starts local dev server at localhost:4321 |
pnpm run build |
Build your production site to ./dist/ |
pnpm run preview |
Preview your build locally, before deploying |