diff --git a/README.md b/README.md index 60f08e2b..e377b23d 100644 --- a/README.md +++ b/README.md @@ -55,9 +55,15 @@ 对 [Hexo-Theme-Butterfly](https://github.com/liuzhihang/halo-theme-hao) 主题的魔改版本。 -## 🛠 安装 +## 🚨 注意事项(看我看我) +1. **安装后请到主题设置页面,将每个设置项都保存一下!!!** +2. **建站时间必填** +3. 如果安装主题后报错,请仔细查阅[主题说明](https://github.com/liuzhihang/halo-theme-hao)与[更新说明](https://github.com/liuzhihang/halo-theme-hao/releases)!!! +4. 如果还未解决,可以加群求助!!! +5. 如果群友也解决不了,再考虑提ISSUE!!! +6. `1.3.1`及以上版本需要`Halo`版本>=`2.8.0` -> **安装后请到主题设置页面,将每个设置项都保存一下!!!** +## 🛠 安装 ### 🚗 自动安装 @@ -89,12 +95,12 @@ - 评论功能 [plugin-comment-widget](https://github.com/halo-sigs/plugin-comment-widget/releases) - 搜索功能 [plugin-search-widget](https://github.com/halo-sigs/plugin-search-widget/releases) -- 友链页面 [plugin-links](https://github.com/chengzhongxue/plugin-links)(魔改版本) +- 友链页面 [plugin-links](https://github.com/halo-sigs/plugin-links) - 瞬间页面 [plugin-moments](https://github.com/halo-sigs/plugin-moments) - 代码高亮 [plugin-prismjs](https://github.com/liuzhihang/plugin-prismjs) - 图片懒加载 [plugin-lazyload](https://github.com/liuzhihang/plugin-lazyload) - 追番插件 [plugin-bilibili-bangumi](https://github.com/Roozenlz/plugin-bilibili-bangumi) -- 图库插件 [plugin-photos](https://github.com/chengzhongxue/plugin-photos)(魔改版本) +- 图库插件 [plugin-photos](https://github.com/halo-sigs/plugin-photos) > 更多插件请参见:https://github.com/halo-sigs/awesome-halo diff --git a/settings.yaml b/settings.yaml index d56841b7..33ca31d0 100644 --- a/settings.yaml +++ b/settings.yaml @@ -92,6 +92,7 @@ spec: value: enable_above: typed: + enable_typed_random: enable_above_video: index_img: phone_index_img: @@ -115,10 +116,24 @@ spec: children: - $formkit: text name: text - label: 文字 - placeholder: 请输入文字 + label: 自定义文字 + placeholder: 请输入自定义文字 + - $formkit: radio + label: 随机文字 + if: $get(enable_above).value + name: enable_typed_random + key: enable_typed_random + id: enable_typed_random + value: false + help: 如果配置了自定义文字,优先展示自定义文字 + options: + - label: 启用 + value: true + - label: 禁用 + value: false - $formkit: radio if: $get(enable_above).value + label: 背景模式 name: enable_above_video key: enable_above_video id: enable_above_video diff --git a/templates/album.html b/templates/album.html index 766380e9..f20da9cc 100644 --- a/templates/album.html +++ b/templates/album.html @@ -57,7 +57,7 @@ width: 100%; display: flex; flex-wrap: wrap; - justify-content: space-around; + justify-content: space-between; margin: var(--album-spacing-xxl) 0 0 } diff --git a/templates/modules/header/index-img.html b/templates/modules/header/index-img.html index c42668cc..cfd1be62 100644 --- a/templates/modules/header/index-img.html +++ b/templates/modules/header/index-img.html @@ -242,23 +242,39 @@