Skip to content

feat: 添加合集(Collection)功能#32

Merged
aba2222 merged 2 commits intoaba2222:mainfrom
xiokuai:feature/collection
Feb 25, 2026
Merged

feat: 添加合集(Collection)功能#32
aba2222 merged 2 commits intoaba2222:mainfrom
xiokuai:feature/collection

Conversation

@xiokuai
Copy link
Copy Markdown
Contributor

@xiokuai xiokuai commented Feb 24, 2026

Summary

  • 新增合集功能,允许用户将文章组织成合集
  • 合集内文章从"所有文章"列表隐藏,以合集条目替代显示
  • 合集内支持上一篇/下一篇导航和 offcanvas 目录侧边栏

功能详情

  • Collection、CollectionPost 模型
  • 完整 CRUD:创建/编辑/删除/管理合集
  • 拖拽排序(SortableJS)和批量添加文章
  • 合集描述支持 Markdown 渲染
  • 导航栏新增"合集"入口

改动文件

  • 修改 7 个已有文件(models, views, forms, urls, templates)
  • 新增 6 个模板 + 2 个迁移文件

- 新增 Collection、CollectionPost 模型,支持文章组织成合集
- 合集内文章从"所有文章"列表隐藏,以合集条目替代显示
- 合集内支持上一篇/下一篇导航和 offcanvas 目录侧边栏
- 支持拖拽排序(SortableJS)、批量添加文章
- 合集描述支持 Markdown 渲染
- 新增创建/编辑/删除/管理合集的完整 CRUD 视图
@aba2222 aba2222 merged commit 313b21c into aba2222:main Feb 25, 2026
2 checks passed
@aba2222
Copy link
Copy Markdown
Owner

aba2222 commented Feb 25, 2026

抱歉我还没有审核就合并了这个分支

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants