feat: 新增「记得」插件(plugin-important-dates)主题适配页面 (v1.1.10)

- 新增 templates/important-dates.html 覆盖插件默认模板,融入暖屿外观
  - 居中标题区(标题/副标题可配置)+ 强调线,与书架、友链等页面一致
  - 生活 / 爱车双视图切换,地址栏记忆 ?view=car
  - 到期提醒横幅(重要日期 + 座驾到期),支持逐条忽略并记录在本地
  - 重要日期便签卡片:倒计时、日期、农历标记、关联的人
  - 牵挂的人卡片:大头贴(失效回退首字)、昵称、关系、脱敏生日与倒计时
  - 爱车卡片:封面相册、分类品牌、脱敏车牌、到期徽章(临近/逾期)、车主与驾驶人
  - 相册浮层运行时移到 body,避免被 .wi-main 层叠上下文困住而被导航/页脚遮挡
  - 暗黑模式随主题变量自动适配
- settings.yaml 新增 important_dates 设置组(页面标题/副标题)
- 文档:README 插件表、docs/config/important-dates.md、docs/pages/important-dates.md
- 版本升至 1.1.10
This commit is contained in:
2026-09-26 17:30:06 +08:00
parent 9f677a9f0d
commit d3ba189a7d
9 changed files with 1487 additions and 4 deletions
+40
View File
@@ -0,0 +1,40 @@
# 记得
「记得」模块对应 [plugin-important-dates](https://github.com/yyliucha/plugin-important-dates) 插件的前台页面 `/important-dates`,用于展示重要日期、牵挂的人与座驾(爱车)信息。
## 配置项一览
| 配置项 | 类型 | 默认值 | 说明 |
| --- | --- | --- | --- |
| `idates_page_title` | 文本 | `记得` | 页面标题,留空时使用插件自带标题 |
| `idates_page_subtitle` | 文本 | `记着重要的日子、惦记的人,还有陪你跑的爱车` | 页面副标题 |
```yaml
idates_page_title: "记得" # 默认
idates_page_title: "纪念日" # 自定义
idates_page_subtitle: "记着重要的日子、惦记的人,还有陪你跑的爱车"
```
## 前置依赖
::: danger
本页依赖 Halo 的 **plugin-important-dates**(记得)插件。未安装插件时 `/important-dates` 路由不存在,页面不会显示。
安装方式:Halo 后台 → **插件** → **安装** → 上传 jar,或直接前往 [GitHub Releases](https://github.com/yyliucha/plugin-important-dates/releases) 下载。
:::
## 数据来源
页面数据全部由插件提供,主题不读取任何隐私字段:
- `dates` — 重要日期(名称、日期、农历标记、关联人员、倒计时)
- `people` — 牵挂的人(昵称、关系、脱敏生日、生日倒计时、大头贴)
- `cars` — 座驾(分类、品牌型号、脱敏车牌、到期事项、相册)
- `reminders` / `carEvents` — 顶部到期提醒横幅
是否展示「重要」标记、大头贴、爱车视图等,均由插件自己的「设置」控制,主题侧只负责呈现。
## 相关页面
- [扩展页面](/pages/extended) — 全部插件扩展页面一览
- [记得页面](/pages/important-dates) — 页面结构与模板覆盖说明