An open API service indexing awesome lists of open source software.

https://github.com/halo-dev/theme-earth

Halo 2.0 的默认主题
https://github.com/halo-dev/theme-earth

halo halo-theme tailwindcss thymeleaf vite

Last synced: 25 days ago
JSON representation

Halo 2.0 的默认主题

Awesome Lists containing this project

README

          

# Earth

Halo 2.0 的默认主题。

![Earth](./screenshot.jpg)

## 使用方式

1. 手动从以下地址下载主题包并在 Console 的主题管理界面安装,安装方式可参考:
- https://www.halo.run/store/apps/app-KgWqR
- https://github.com/halo-dev/theme-earth/releases

2. 如果安装了[应用市场](https://www.halo.run/store/apps/app-VYJbF)插件,可以直接在应用市场中搜索`Earth`并安装。

## 插件支持

Earth 主题支持以下 Halo 插件:

- 友情链接(/links):
- 图库(/photos):
- 瞬间(/moments):

为了获得更好的体验,你还可以安装以下插件(如果需要):

- Shiki 代码高亮:
- lightgallery.js 灯箱:

## 开发

```bash
git clone git@github.com:halo-dev/theme-earth.git ~/halo2-dev/themes/theme-earth
```

```bash
cd ~/halo2-dev/themes/theme-earth
```

```bash
pnpm install
```

```bash
pnpm dev
```

主题开发文档可查阅:

## 构建

```bash
pnpm build
```

然后将 `dist` 目录的 `ZIP` 格式压缩包在 Halo 后台上传安装即可。