mirror of https://github.com/halo-dev/halo
![]() #### What type of PR is this? /kind improvement /area core /milestone 2.0 #### What this PR does / why we need it: - 安装主题后通过读取主题 Setting 模型中的默认值初始化一个 ConfigMap - 修改了 Setting 模型的 spec 结构(多了一层 forms 嵌套),配置示例如下: ```yaml apiVersion: v1alpha1 kind: Setting metadata: name: theme-anatole-setting spec: forms: - group: basic label: 基本设置 formSchema: - $formkit: select name: sidebar_width label: 侧边栏宽度 options: "20%": 20% "30%": 30% "40%": 40% "50%": 50% value: "40%" ``` #### Which issue(s) this PR fixes: Fixes #2414 #### Special notes for your reviewer: /cc @halo-dev/sig-halo #### Does this PR introduce a user-facing change? ```release-note None ``` |
||
---|---|---|
.github | ||
config/checkstyle | ||
docs/developer-guide | ||
gradle/wrapper | ||
hack | ||
src | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
CHANGELOG.md | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
Dockerfile | ||
LICENSE | ||
OWNERS | ||
README.md | ||
SECURITY.md | ||
build.gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
settings.gradle |
README.md
Halo [ˈheɪloʊ],一款现代化的开源博客/CMS系统,值得一试。
快速开始
Fat Jar
下载最新的 Halo 运行包:
curl -L https://github.com/halo-dev/halo/releases/download/v1.4.17/halo-1.4.17.jar --output halo.jar
其他地址:https://docs.halo.run/getting-started/downloads
java -jar halo.jar
Docker
docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo --restart=always halohub/halo
详细部署文档请查阅:https://docs.halo.run/getting-started/install/linux
在线体验
- 环境地址:https://demo.halo.run
- 后台地址:https://demo.halo.run/admin
- 用户名:demo
- 密码:P@ssw0rd123..
- 使用前请阅读:https://demo.halo.run/archives/tips
生态
项目 | 状态 | 描述 |
---|---|---|
halo-admin | Web 管理端 UI,已内置在主应用 | |
js-sdk | JavaScript SDK | |
halo-comment | 独立评论组件,可以非常方便的集成到主题中 | |
halo-comment-normal | 另外一款评论组件 | |
halo-mobile-app | 已停止维护 | 移动端管理 APP |
tencent-cloudbase-halo | 无 | 腾讯云 CloudBase 一键部署配置 |
halo-theme-* | 无 | GitHub 上开源的 Halo 主题集合 |
许可证
Halo 使用 GPL-v3.0 协议开源,请遵守开源协议。
贡献
参考 CONTRIBUTING。