Skip to content

Latest commit

 

History

History
63 lines (62 loc) · 1.59 KB

File metadata and controls

63 lines (62 loc) · 1.59 KB

一个简单的Astro主题

特点🤔

  • 100/100 Lighthouse performance
  • SEO-friendly with canonical URLs and OpenGraph data
  • Sitemap 支持
  • RSS 支持
  • 支持 md&mdx 格式
  • 优雅😋的网页设计
  • 置顶功能

组件💡

  • Blog-cards 主页文章卡片(可自定义排序)
  • Tags 文章标签
  • Archive 归档(按月排序)
  • Announcement 通知栏(支持置顶)
  • Calendar(正在开发)
  • Auto-generated table of contents(自动生成文章目录)

为什么要写这个主题❓

希腊奶😋 ...

为什么主题色是骚粉

我喜欢😋

安装这个主题⬇️

npm create astro@latest -- --template Hi-Jiang-a11y/NeoJuliet-Blog
  #或者👇
git clone https://github.com/Hi-Jiang-a11y/NeoJuliet-Blog.git
  #change the working directory
cd NeoJuliet-Blog
  #安装所需要的npm包
npm insatll

目录结构🔽

.
├── README.md
├── astro.config.mjs
├── package-lock.json
├── package.json
├── public
│   ├── assets
│   ├── favicon.svg
│   ├── fonts
│   └── scripts
├── src
│   ├── assets
│   ├── components
│   ├── consts.ts
│   ├── content
│   ├── content.config.ts
│   ├── layouts
│   ├── pages
│   ├── scripts
│   └── styles
└── tsconfig.json

常用指令🚀

command action
npm run dev 本地启动开发服务器
npm run preview 本地预览
npm run build 构建到 ./dist
npm run astro ... 运行 CLI指令,比如 astro add, astro check