change theme info
This commit is contained in:
parent
4b1696db17
commit
0b9b2c89c5
16
README.md
16
README.md
@ -1,21 +1,19 @@
|
||||
# Earth
|
||||
# UncleQuark
|
||||
|
||||
Halo 2.0 的默认主题。
|
||||
Halo 2.0 的企业主题。
|
||||
|
||||

|
||||

|
||||
|
||||
## 使用方式
|
||||
|
||||
1. 手动从以下地址下载主题包并在 Console 的主题管理界面安装,安装方式可参考:<https://docs.halo.run/user-guide/themes>
|
||||
|
||||
- https://www.halo.run/store/apps/app-KgWqR
|
||||
- https://github.com/halo-dev/theme-earth/releases
|
||||
- https://github.com/BigQubot/theme-unclequark/releases
|
||||
|
||||
3. 如果安装了[应用市场](https://www.halo.run/store/apps/app-VYJbF)插件,可以直接在应用市场中搜索`Earth`并安装。
|
||||
|
||||
## 插件支持
|
||||
|
||||
Earth 主题支持以下 Halo 插件:
|
||||
UncleQuark 主题支持以下 Halo 插件:
|
||||
|
||||
- 友情链接(/links):<https://halo.run/store/apps/app-hfbQg>
|
||||
- 图库(/photos):<https://halo.run/store/apps/app-BmQJW>
|
||||
@ -29,11 +27,11 @@ Earth 主题支持以下 Halo 插件:
|
||||
## 开发
|
||||
|
||||
```bash
|
||||
git clone git@github.com:halo-dev/theme-earth.git ~/halo2-dev/themes/theme-earth
|
||||
git clone git@github.com:BigQubot/theme-unclequark.git ~/halo2-dev/themes/theme-unclequark
|
||||
```
|
||||
|
||||
```bash
|
||||
cd ~/halo2-dev/themes/theme-earth
|
||||
cd ~/halo2-dev/themes/theme-unclequark
|
||||
```
|
||||
|
||||
```bash
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
apiVersion: v1alpha1
|
||||
kind: Setting
|
||||
metadata:
|
||||
name: theme-earth-setting
|
||||
name: theme-unclequark-setting
|
||||
spec:
|
||||
forms:
|
||||
- group: layout
|
||||
@ -57,7 +57,7 @@ spec:
|
||||
id: header_background_image
|
||||
key: header_background_image
|
||||
label: 首页顶部背景图片
|
||||
value: /themes/theme-earth/assets/images/default-background-2023-10-12.jpeg
|
||||
value: /themes/theme-unclequark/assets/images/default-background-2023-10-12.jpeg
|
||||
- $formkit: color
|
||||
if: "$get(header_widget).value === site_title"
|
||||
name: title_color
|
||||
|
||||
2
templates/assets/dist/main.iife.js
vendored
2
templates/assets/dist/main.iife.js
vendored
File diff suppressed because one or more lines are too long
@ -23,7 +23,7 @@
|
||||
<body>
|
||||
<canvas id="canvas"></canvas>
|
||||
</body>
|
||||
<script src="/themes/theme-earth/assets/js/qrious.min.js"></script>
|
||||
<script src="/themes/theme-unclequark/assets/js/qrious.min.js"></script>
|
||||
<script>
|
||||
(function () {
|
||||
const url = window.location.search.split("=")[1];
|
||||
|
||||
28
theme.yaml
28
theme.yaml
@ -1,25 +1,21 @@
|
||||
apiVersion: theme.halo.run/v1alpha1
|
||||
kind: Theme
|
||||
metadata:
|
||||
name: theme-earth
|
||||
annotations:
|
||||
# Add supports for Halo App Store
|
||||
# https://halo.run/store/apps/app-KgWqR
|
||||
"store.halo.run/app-id": "app-KgWqR"
|
||||
name: theme-unclequark
|
||||
spec:
|
||||
displayName: Earth
|
||||
displayName: UncleQuark
|
||||
author:
|
||||
name: Halo
|
||||
website: https://www.halo.run
|
||||
description: Default theme for Halo 2.0
|
||||
logo: https://www.halo.run/logo
|
||||
homepage: https://www.halo.run/store/apps/app-KgWqR
|
||||
repo: https://github.com/halo-dev/theme-earth
|
||||
issues: https://github.com/halo-dev/theme-earth/issues
|
||||
settingName: "theme-earth-setting"
|
||||
configMapName: "theme-earth-configMap"
|
||||
name: Qubot
|
||||
website: https://qubot.org
|
||||
description: A modern corporate theme designed for Halo.
|
||||
logo: "/themes/theme-unclequark/assets/images/logo.png"
|
||||
homepage: https://qubot.org
|
||||
repo: https://github.com/BigQubot/theme-unclequark
|
||||
issues: https://github.com/BigQubot/theme-unclequark/issues
|
||||
settingName: "theme-unclequark-setting"
|
||||
configMapName: "theme-unclequark-configMap"
|
||||
version: 1.12.4
|
||||
requires: ">=2.20.0"
|
||||
license:
|
||||
- name: "GPL-3.0"
|
||||
url: "https://github.com/halo-dev/theme-earth/blob/main/LICENSE"
|
||||
url: "https://github.com/BigQubot/theme-unclequark/blob/main/LICENSE"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user