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