rbetree
|
cc48a02676
|
refactor: 对原本的过长style.css进行拆分
|
2026-01-24 23:20:05 +08:00 |
|
rbetree
|
280d376bac
|
feat(templates):新增 Markdown 内容页支持
新增 template: content:构建期使用 markdown-it 将本地Markdown 渲染为 HTML(禁用 raw HTML/图片),并按MeNav的URLscheme白名单策略对链接做安全降级
|
2026-01-20 18:23:32 +08:00 |
|
rbetree
|
d19c4da51d
|
fix(icons): faviconV2 加入 drop_404_icon=true 参数避免404占位图以触发回退
- helpers:faviconV2Url / faviconFallbackUrl 统一追加 drop_404_icon=true
- runtime:新增站点的 faviconV2 com/cn URL 同步追加该参数
- docs:更新模板与 helper 文档示例
- test:新增用例防止参数回归
|
2026-01-16 22:52:39 +08:00 |
|
rbetree
|
3d9363a550
|
fix: 重命名 favicon helper 避免与 sites.faviconUrl 同名冲突
将 Handlebars helper `faviconUrl(url)` 更名为 `faviconV2Url(url)`,解决自定义字段 `sites[].faviconUrl`
在模板中被误解析为 helper(无参调用)导致的渲染崩溃。
- helper:faviconUrl -> faviconV2Url
- 模板:site-card 中调用同步更新
BREAKING CHANGE:
自定义模板如使用 `{{faviconUrl url}}` 生成 faviconV2 地址,需要改为 `{{faviconV2Url url}}`。
Fixes: #32
|
2026-01-04 19:18:14 +08:00 |
|
rbetree
|
30d50ebcd7
|
fix: 修复外部资源、图标模式与嵌套交互(#30)
Fixes: https://github.com/rbetree/menav/issues/30
- Font Awesome:bootcdn→Cloudflare cdnjs
- favicon:gstatic `.com` 失败自动回退 `.cn`
- `icons.mode`:修复 `site.yml` 配置未生效(提升到顶层)
- 站点级图标覆盖:支持 `faviconUrl` / `forceIconMode`(优先级:`faviconUrl` > `forceIconMode` > `icons.mode`)
- 折叠交互:恢复二级分组折叠按钮(桌面端悬停显示)
- 新标签页:递归补齐多级 `sites.external` 默认值
|
2026-01-02 18:09:20 +08:00 |
|
rbetree
|
387cd2492e
|
feat: 页面模板差异化改进 + 配置优化 + 兼容清理 (#29)
- 首页判定:navigation 第一项
- 模板:page/projects/articles/bookmarks/search-results
- bookmarks:update: YYYY-MM-DD | from: git|mtime
- articles:RSS 聚合只读条目 + 分类聚合 + 影子写回结构
- projects:repo 卡片 + 可选热力图 + 自动抓取元信息
- 工作流:构建前 sync + schedule 定时刷新
- 移除兼容:config.yml/config.yaml、navigation.yml、home 特例
- 迁移说明:config/update-instructions.md
|
2025-12-28 00:22:54 +08:00 |
|
rbetree
|
7d44930b59
|
feat: 移除首页顶部欢迎区的 description
|
2025-12-22 20:34:04 +08:00 |
|
rbetree
|
670e73e93c
|
fix: 补齐书签 subgroups 渲染并对齐 README
- 修复 subgroups 生成但不展示的问题(模板渲染 + 前端结构导出)
- 更新 README:配置示例/完全替换策略/多层级说明与 helper 文档,减少重复说明
|
2025-12-22 02:16:01 +08:00 |
|
rbetree
|
2daba411ba
|
docs: 更新重构各readme文件
|
2025-12-22 01:45:58 +08:00 |
|
rbetree
|
c27464c452
|
docs: 更新readme文档
|
2025-11-09 21:49:35 +08:00 |
|
coolzr
|
da1e3fedd6
|
docs: 更新文档
|
2025-10-24 01:28:37 +08:00 |
|
coolzr
|
9e2a8b0da4
|
feat(readme): 更新文档和配置注释
|
2025-10-19 01:12:44 +08:00 |
|
Zuoling Rong
|
4a5f44bc71
|
fix: 解决重构后自定义页面问题
1. 添加模板回退机制,当找不到指定模板时自动使用page.hbs通用模板
2. 支持在页面配置中通过template字段指定使用的模板文件
3. 更新配置文件和文档,添加template字段使用说明
Closes #10
|
2025-05-09 16:14:15 +08:00 |
|
Zuoling Rong
|
6924ce1c51
|
docs: 添加或修改各目录README文档
|
2025-05-09 01:09:55 +08:00 |
|
Zuoling Rong
|
4c3c5d23fa
|
refactor: 优化重构后的系统并添加文档
|
2025-05-09 00:14:28 +08:00 |
|