Port original CSS/JS/assets, rebuild home as four sections with feed fragments, expand schema (boards/notices/rooms/topics), and add page.chrome HTML overrides plus invoke html returns so Marqdo can render Django-class chrome without json glue. Co-authored-by: Cursor <cursoragent@cursor.com>
507 B
507 B
title: components/fragments description: AJAX 片段 — /post/ten、/news/five。 导入 网页:ext/web/网页.mq.md import db:../db/index.mq.md import feed:feed.mq.md
帖子十
+ `board_id`="0"
store = > db.打开
行 = > store.查询 表="posts" 上限=10 排序="-created_at"
> feed.帖子列表HTML 行=行
新闻五
+ `news_board_id`="0"
store = > db.打开
行 = > store.查询 表="news" 上限=5 排序="-created_at"
> feed.新闻时间线HTML 行=行