├── .editorconfig ├── .example.env ├── .gitignore ├── .npmrc ├── .prettierignore ├── .prettierrc.js ├── .vscode ├── extensions.json ├── post.code-snippets └── settings.json ├── LICENSE ├── README.md ├── astro.config.ts ├── biome.json ├── package.json ├── pnpm-lock.yaml ├── postcss.config.cjs ├── public ├── admin │ └── config.yml ├── icon.svg ├── icons │ ├── bilibili.svg │ ├── linux.do.svg │ └── nodeseek.svg └── social-card.avif ├── src ├── assets │ ├── roboto-mono-700.ttf │ └── roboto-mono-regular.ttf ├── components │ ├── BaseHead.astro │ ├── FormattedDate.astro │ ├── Paginator.astro │ ├── Search.astro │ ├── SkipLink.astro │ ├── SocialList.astro │ ├── ThemeProvider.astro │ ├── ThemeToggle.astro │ ├── blog │ │ ├── Masthead.astro │ │ ├── PostPreview.astro │ │ ├── TOC.astro │ │ ├── TOCHeading.astro │ │ └── webmentions │ │ │ ├── Comments.astro │ │ │ ├── Likes.astro │ │ │ └── index.astro │ ├── layout │ │ ├── Footer.astro │ │ └── Header.astro │ └── note │ │ └── Note.astro ├── content.config.ts ├── content │ ├── note │ │ └── demo.md │ └── post │ │ └── demo │ │ ├── cover-image │ │ ├── cover.png │ │ └── index.md │ │ ├── draft-post.md │ │ ├── markdown-elements │ │ ├── admonistions.md │ │ ├── index.md │ │ └── logo.png │ │ └── social-image │ │ ├── 1215191008.avif │ │ └── index.md ├── data │ └── post.ts ├── env.d.ts ├── layouts │ ├── Base.astro │ └── BlogPost.astro ├── pages │ ├── 404.astro │ ├── about.astro │ ├── index.astro │ ├── notes │ │ ├── [...page].astro │ │ ├── [...slug].astro │ │ └── rss.xml.ts │ ├── og-image │ │ └── [...slug].png.ts │ ├── posts │ │ ├── [...page].astro │ │ └── [...slug].astro │ ├── rss.xml.ts │ └── tags │ │ ├── [tag] │ │ └── [...page].astro │ │ └── index.astro ├── plugins │ ├── remark-admonitions.ts │ └── remark-reading-time.ts ├── site.config.ts ├── styles │ └── global.css ├── types.ts └── utils │ ├── date.ts │ ├── domElement.ts │ ├── generateToc.ts │ └── webmentions.ts ├── tailwind.config.ts └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/.editorconfig -------------------------------------------------------------------------------- /.example.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/.example.env -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | enable-pre-post-scripts=true -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/post.code-snippets: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/.vscode/post.code-snippets -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/README.md -------------------------------------------------------------------------------- /astro.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/astro.config.ts -------------------------------------------------------------------------------- /biome.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/biome.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /postcss.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/postcss.config.cjs -------------------------------------------------------------------------------- /public/admin/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/public/admin/config.yml -------------------------------------------------------------------------------- /public/icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/public/icon.svg -------------------------------------------------------------------------------- /public/icons/bilibili.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/public/icons/bilibili.svg -------------------------------------------------------------------------------- /public/icons/linux.do.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/public/icons/linux.do.svg -------------------------------------------------------------------------------- /public/icons/nodeseek.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/public/icons/nodeseek.svg -------------------------------------------------------------------------------- /public/social-card.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/public/social-card.avif -------------------------------------------------------------------------------- /src/assets/roboto-mono-700.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/assets/roboto-mono-700.ttf -------------------------------------------------------------------------------- /src/assets/roboto-mono-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/assets/roboto-mono-regular.ttf -------------------------------------------------------------------------------- /src/components/BaseHead.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/components/BaseHead.astro -------------------------------------------------------------------------------- /src/components/FormattedDate.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/components/FormattedDate.astro -------------------------------------------------------------------------------- /src/components/Paginator.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/components/Paginator.astro -------------------------------------------------------------------------------- /src/components/Search.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/components/Search.astro -------------------------------------------------------------------------------- /src/components/SkipLink.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/components/SkipLink.astro -------------------------------------------------------------------------------- /src/components/SocialList.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/components/SocialList.astro -------------------------------------------------------------------------------- /src/components/ThemeProvider.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/components/ThemeProvider.astro -------------------------------------------------------------------------------- /src/components/ThemeToggle.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/components/ThemeToggle.astro -------------------------------------------------------------------------------- /src/components/blog/Masthead.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/components/blog/Masthead.astro -------------------------------------------------------------------------------- /src/components/blog/PostPreview.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/components/blog/PostPreview.astro -------------------------------------------------------------------------------- /src/components/blog/TOC.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/components/blog/TOC.astro -------------------------------------------------------------------------------- /src/components/blog/TOCHeading.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/components/blog/TOCHeading.astro -------------------------------------------------------------------------------- /src/components/blog/webmentions/Comments.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/components/blog/webmentions/Comments.astro -------------------------------------------------------------------------------- /src/components/blog/webmentions/Likes.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/components/blog/webmentions/Likes.astro -------------------------------------------------------------------------------- /src/components/blog/webmentions/index.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/components/blog/webmentions/index.astro -------------------------------------------------------------------------------- /src/components/layout/Footer.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/components/layout/Footer.astro -------------------------------------------------------------------------------- /src/components/layout/Header.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/components/layout/Header.astro -------------------------------------------------------------------------------- /src/components/note/Note.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/components/note/Note.astro -------------------------------------------------------------------------------- /src/content.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/content.config.ts -------------------------------------------------------------------------------- /src/content/note/demo.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 示例 3 | description: 一则笔记 4 | publishDate: "2024-12-13 16:35" 5 | --- 6 | 7 | 学海无涯苦做舟 8 | -------------------------------------------------------------------------------- /src/content/post/demo/cover-image/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/content/post/demo/cover-image/cover.png -------------------------------------------------------------------------------- /src/content/post/demo/cover-image/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/content/post/demo/cover-image/index.md -------------------------------------------------------------------------------- /src/content/post/demo/draft-post.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/content/post/demo/draft-post.md -------------------------------------------------------------------------------- /src/content/post/demo/markdown-elements/admonistions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/content/post/demo/markdown-elements/admonistions.md -------------------------------------------------------------------------------- /src/content/post/demo/markdown-elements/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/content/post/demo/markdown-elements/index.md -------------------------------------------------------------------------------- /src/content/post/demo/markdown-elements/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/content/post/demo/markdown-elements/logo.png -------------------------------------------------------------------------------- /src/content/post/demo/social-image/1215191008.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/content/post/demo/social-image/1215191008.avif -------------------------------------------------------------------------------- /src/content/post/demo/social-image/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/content/post/demo/social-image/index.md -------------------------------------------------------------------------------- /src/data/post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/data/post.ts -------------------------------------------------------------------------------- /src/env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/env.d.ts -------------------------------------------------------------------------------- /src/layouts/Base.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/layouts/Base.astro -------------------------------------------------------------------------------- /src/layouts/BlogPost.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/layouts/BlogPost.astro -------------------------------------------------------------------------------- /src/pages/404.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/pages/404.astro -------------------------------------------------------------------------------- /src/pages/about.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/pages/about.astro -------------------------------------------------------------------------------- /src/pages/index.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/pages/index.astro -------------------------------------------------------------------------------- /src/pages/notes/[...page].astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/pages/notes/[...page].astro -------------------------------------------------------------------------------- /src/pages/notes/[...slug].astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/pages/notes/[...slug].astro -------------------------------------------------------------------------------- /src/pages/notes/rss.xml.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/pages/notes/rss.xml.ts -------------------------------------------------------------------------------- /src/pages/og-image/[...slug].png.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/pages/og-image/[...slug].png.ts -------------------------------------------------------------------------------- /src/pages/posts/[...page].astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/pages/posts/[...page].astro -------------------------------------------------------------------------------- /src/pages/posts/[...slug].astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/pages/posts/[...slug].astro -------------------------------------------------------------------------------- /src/pages/rss.xml.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/pages/rss.xml.ts -------------------------------------------------------------------------------- /src/pages/tags/[tag]/[...page].astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/pages/tags/[tag]/[...page].astro -------------------------------------------------------------------------------- /src/pages/tags/index.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/pages/tags/index.astro -------------------------------------------------------------------------------- /src/plugins/remark-admonitions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/plugins/remark-admonitions.ts -------------------------------------------------------------------------------- /src/plugins/remark-reading-time.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/plugins/remark-reading-time.ts -------------------------------------------------------------------------------- /src/site.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/site.config.ts -------------------------------------------------------------------------------- /src/styles/global.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/styles/global.css -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils/date.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/utils/date.ts -------------------------------------------------------------------------------- /src/utils/domElement.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/utils/domElement.ts -------------------------------------------------------------------------------- /src/utils/generateToc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/utils/generateToc.ts -------------------------------------------------------------------------------- /src/utils/webmentions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/src/utils/webmentions.ts -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouzonghao/Astro-theme-Cactus-zh_CN/HEAD/tsconfig.json --------------------------------------------------------------------------------