# theme-casper **Repository Path**: halo-dev/theme-casper ## Basic Information - **Project Name**: theme-casper - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-03-01 - **Last Updated**: 2024-03-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 介绍 一款适用于博客场景的 Halo 主题。 该主题移植自 [Ghost](https://github.com/TryGhost) 默认主题 Casper,非常感谢做出这么优秀的主题。 原主题地址:[https://github.com/TryGhost/Casper](https://github.com/TryGhost/Casper) ![index](./screenshot.jpeg) [预览地址](https://demo.halo.run/?preview-theme=theme-casper) ## 使用方式 1. 手动从以下地址下载主题包并在 Console 的主题管理界面安装,安装方式可参考: - https://www.halo.run/store/apps/app-rpcyT - https://github.com/halo-dev/theme-casper/releases 3. 如果安装了[应用市场](https://www.halo.run/store/apps/app-VYJbF)插件,可以直接在应用市场中搜索`Casper`并安装。 ## 开发 ```bash git clone git@github.com:halo-dev/theme-casper.git ~/halo2-dev/themes/theme-casper ``` ```bash cd ~/halo2-dev/themes/theme-earth ``` ```bash pnpm install ``` ```bash pnpm dev ``` 主题开发文档可查阅: ## 构建打包 ```bash pnpm build pnpm zip ``` 然后在 `dist` 目录可以看到 `zip` 格式的主题包,在 Halo 后台上传安装即可。