Commit Graph
29 Commits
Author SHA1 Message Date
nxxy335andWorkBuddy db368f885e feat: 二级导航、豆瓣适配页、可关闭署名与全站统计
- 一级菜单子项渲染为下拉二级导航(移动端嵌套展开)
- 新增 douban.html 豆瓣收藏适配页(plugin-douban,分栏展示书影音)
- 页脚署名改为可配置名称且可关闭(默认「暖心向阳335」)
- 页脚全站数据统计可配置(文章/分类/标签/评论/访问/字数)
- 文章卡片字数+阅读时长增加 show_word_count 开关
- 修复 SinglePage 描述取用错误(spec.description -> status.excerpt)导致的 /weread、/subscriptions 白屏
- 修复 post-meta 静态类调用被禁(BigInteger.valueOf)导致的首页 500
- 文章分类链接增加间距

Co-Authored-By: WorkBuddy <noreply@workbuddy.ai>
2026-09-28 20:40:21 +08:00
nxxy335 6b8d9ee338 chore: 集成 extra-api 统计、页脚备案配置、友链申请内嵌
- extra-api: 文章卡片/详情页展示字数+阅读时长、归档页展示全站总字数、瞬间页展示单条字数(pluginFinder.available 守卫,未安装自动隐藏)
- 页脚新增 ICP 备案号与公网安备号配置(settings.yaml footer 分组,partials/layout.html 渲染并加安全导航守卫)
- 友链申请表单由独立单页改为内嵌 /links 页底部(点击「申请友链」展开),移除独立 links-apply.html 及其自定义模板注册
- 重新打包 dist/whitespace-0.1.0.zip(移除陈旧 1.0.0)
2026-09-28 17:37:16 +08:00
nxxy335 8e6dccbd09 feat: 插件适配页面与系统完善(v0.1.0)
- 修复 /categories、/tags 因变量为 List 误用 .items 导致的 500
- 新增 layout.html 布局契约,消除插件页面 fallback 警告
- 适配 plugin-moments / plugin-photos / plugin-links(含友链申请表单与 RSS 订阅页)
- 适配 halo-weread-plugin(书架页)、留言板单页模板
- 适配 plugin-extra-api 的代码高亮与暗色样式
- 修复暗黑模式评论区不可见(补充 color-scheme 与兜底样式)
- 更新元数据:作者暖心向阳335、版本 0.1.0、requires >=2.26.0
2026-09-28 16:50:09 +08:00
Ryan Wang 2ed0c768a4 Refresh Halo theme skill and starter
Reworks the `halo-theme-dev` skill around current Halo theme workflows: replaces bundled reference docs with on-demand documentation guidance, broadens the skill scope, removes the OpenAI-specific agent config, and adds eval coverage for settings, SEO, and Vite layout behavior. It also updates the Vite starter by pinning `vite-plugin-halo-theme`, adding a source `layout.html` contract plus `author.html`, wiring locale-aware `lang` handling, and adding ignored/generated asset placeholders for the build output.
2026-09-01 16:36:38 +08:00
Ryan Wang 8ab98b9e35 Correct public asset output documentation 2026-08-29 10:20:18 +08:00
Ryan Wang bd372d22b3 Update pnpm lockfile with dependency bumps
Regenerate pnpm-lock.yaml to pick up multiple dependency updates and resolved integrity hashes. Notable changes: @voidzero-dev/vite-plus-core and related vite-plus platform packages bumped from 0.1.15 to 0.1.19 (with peer tweaks for @tsdown and esbuild), @oxc-project runtime/types moved to 0.126.0, @oxfmt bindings updated (0.43.0 -> 0.45.0), @oxlint and @oxlint-tsgolint bump, follow-redirects -> 1.16.0, hasown -> 2.0.3, and various package integrity and platform-specific binary entries updated. This commit only updates the lockfile to reflect the dependency resolution changes.
2026-04-27 15:59:58 +08:00
Ryan Wang f1997b6734 Update README.md 2026-04-03 16:26:12 +08:00
Ryan Wang 938a59b89b Remove 'pnpm prepare' entry from README
Delete the `pnpm prepare` (`vp config`) row from the commands table in README.md and tidy the table separators. This removes an outdated/unused script reference from the documentation.
2026-04-02 23:27:26 +08:00
Ryan Wang ff92133a71 Update README.md 2026-04-02 23:26:18 +08:00
Ryan Wang 7ee2cca430 Update README.md 2026-04-02 23:24:36 +08:00
Ryan Wang 7876f9b224 Remove Gradle files
Remove Java/Gradle build configuration and wrapper (build.gradle, gradle wrapper jars/properties, gradlew, gradlew.bat, settings.gradle) and heavily rewrite README.md to document a Vite-based Halo theme starter. The README now explains the tech stack (Vite, TypeScript, pnpm, vite-plus, halo theme plugins), directory structure (src/ vs templates/), plugin behavior, development and build commands (pnpm dev / build / build-only), packaging via theme-package-cli, and other helper scripts and Agent Skills. This change reflects a migration away from a Gradle/Thymeleaf local build scaffold to a Node/Vite-focused workflow for theme development.
2026-04-02 23:24:31 +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 8f6f523373 chore: add issues field for theme manifest file
Signed-off-by: Ryan Wang <i@ryanc.cc>
2024-04-26 22:15:46 +08:00
Ryan Wang 6de838100c chore: update theme.yaml
Signed-off-by: Ryan Wang <i@ryanc.cc>
2024-04-16 17:46:18 +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 c8cb0c3009 chore: fix deprecated expression
Signed-off-by: Ryan Wang <i@ryanc.cc>
2023-11-14 12:11:43 +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 9bb0d5ef38 docs: update readme 2022-11-23 10:55:14 +08:00
Ryan Wang 0a31470dc7 docs: update readme 2022-11-22 17:04:27 +08:00
Ryan Wang a7b4c2f6d0 Merge remote-tracking branch 'origin/main' 2022-11-18 12:03:42 +08:00
Ryan Wang 36d77373a8 chore: change github org to halo-dev 2022-11-18 12:03:26 +08:00
Ryan Wang 781bc1070a chore: add gradle for development with idea 2022-11-02 20:58:28 +08:00
Ryan Wang e2db3ba797 first commit 2022-10-22 21:23:32 +08:00