Commit Graph
13 Commits
Author SHA1 Message Date
nxxy335andWorkBuddy 4e3001674a feat: 图库重做/瞬间详情/重要日子适配页/全站灯箱,修复豆瓣页白屏(v0.2.0)
- 图库页重做:首屏按相册分组展示,封面自动取相册第一张图,可在设置中按相册手动配置封面;点击相册进入 ?group= 瀑布流视图(一行三张、页面加宽),支持预览模式(lightgallery 放大,默认值可配置、前台可切换)
- 瞬间页:新增 /moments/{name} 详情页(完整内容、媒体、标签、作者信息、评论区);列表页发布人与发布时间同行对齐;补充单条标签
- 新增 plugin-important-dates 适配页 important-dates.html(即将到来提醒、全部日期倒计时、重要标记、人员生日)
- 全站集成 lightgallery.js 灯箱(动态模式、按需加载、挂载 body 避免层叠上下文遮挡),可在设置中关闭
- 友链页:「全部」视图按分组展示并显示分组标题(空分组自动隐藏);卡片简介限制两行,统一卡片高度与尺寸
- 修复 /douban 白屏:SpEL 不支持 th:with 中的嵌套 map 字面量(EL1041E),改为四段显式区块
- 版本号升至 0.2.0;README 同步更新

Co-Authored-By: WorkBuddy <noreply@workbuddy.ai>
2026-09-30 09:10:32 +08:00
Ryan Wang 7fab0c6039 Add halo-theme-dev skill & theme templates
Add a new .agents/skills/halo-theme-dev skill providing Halo theme development resources: two theme templates (theme-vite and theme-minimal) with theme.yaml/settings, Vite config, package.json, CSS and JS assets, and a full set of Thymeleaf template files/partials. Include comprehensive reference docs (structure & config, finder APIs, global variables, annotations, static resources, packaging, official plugins, thymeleaf tips) and an agents/openai.yaml interface. Also update project files: modify package.json, update tsconfig.json, add skills-lock.json, rename vite-env.d.ts and remove obsolete src/main.ts and src/styles/main.css while populating src/ with the new template files.
2026-04-02 23:12:27 +08:00
Ryan Wang 2ae2ec231a Bump tooling, add check script, remove templates
Upgrade developer toolchain and clean up project files: add a new "check" script (replacing previous lint/fmt), bump TypeScript and add @halo-dev/vite-plugin-halo-theme, update pnpm packageManager version, remove legacy templates HTML files and add "templates" to .gitignore, and apply related changes to vite.config.ts. The lockfile was updated to reflect dependency changes.
2026-04-02 23:06:27 +08:00
Ryan Wang eaaf71a8bf Migrate to vp/vite-plus toolchain and update configs
Replace ESLint/Prettier/Husky workflow with vp (vite-plus) tooling: remove .eslintrc.cjs and prettier.config.js, drop husky pre-commit and add .vite-hooks/pre-commit (vp staged). Update package.json scripts to use vp commands, bump @halo-dev/theme-package-cli, replace vite with @voidzero-dev/vite-plus-core alias and add vite-plus, and add pnpm settings/overrides and packageManager update. Add VS Code recommendations and formatter settings, expose .vscode/settings.json in .gitignore, and adjust CI to use Node 24. Update README link and small formatting fixes. Regenerate pnpm lockfile to reflect dependency changes and other config updates; templates and vite config were also modified.
2026-03-24 16:45:04 +08:00
Ryan Wang c4885a24c9 Move @halo-dev/theme-package-cli to dev dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2025-04-03 11:37:34 +08:00
Ryan Wang 7c60b00752 Add workflow for theme releasing
Signed-off-by: Ryan Wang <i@ryanc.cc>
2025-04-03 11:35:36 +08:00
Ryan Wang f003056080 chore: add husky
Signed-off-by: Ryan Wang <i@ryanc.cc>
2024-03-20 10:28:00 +08:00
Ryan Wang 772ff6f07b chore: add husky
Signed-off-by: Ryan Wang <i@ryanc.cc>
2024-03-20 10:24:50 +08:00
Ryan Wang 925047632c chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2024-03-20 10:22:08 +08:00
Ryan Wang 14044c8414 chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2023-11-14 12:09:55 +08:00
Ryan Wang 0a31470dc7 docs: update readme 2022-11-22 17:04:27 +08:00
Ryan Wang 36d77373a8 chore: change github org to halo-dev 2022-11-18 12:03:26 +08:00
Ryan Wang e2db3ba797 first commit 2022-10-22 21:23:32 +08:00