feat(anlian-mq): align site with Django anlian browse UX
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>
This commit is contained in:
1 parent
e292c8a7c7
commit
d3b137c919
56 files changed
+6839
-196
No files matched your search
@@ -270,6 +270,15 @@ of a list of cards. Set on the dynamic post page so `/post/{slug}` shows one pos
|
||||
|
||||
**> web_page_detail page=`self` detail=`detail`**
|
||||
|
||||
## chrome
|
||||
+ `nav_html`=""
|
||||
+ `footer_html`=""
|
||||
+ `body_class`=""
|
||||
|
||||
Override default header/footer list chrome with raw HTML (site navbar / footer). Optional `body_class` is appended to `<body class>`.
|
||||
|
||||
**> web_page_chrome page=`self` nav_html=`nav_html` footer_html=`footer_html` body_class=`body_class`**
|
||||
|
||||
## meta
|
||||
+ `meta`
|
||||
|
||||
|
||||
@@ -252,6 +252,15 @@ import table:lib/table.mq.md
|
||||
|
||||
**> web_page_detail page=`self` detail=`详情`**
|
||||
|
||||
## 壳HTML
|
||||
+ `导航`=""
|
||||
+ `页脚`=""
|
||||
+ `体类`=""
|
||||
|
||||
覆盖默认 `<header>` / `<footer>` 列表渲染,改为原站级原始 HTML(如 Django navbar / site_footer)。可选 `体类` 追加到 `<body class>`。
|
||||
|
||||
**> web_page_chrome page=`self` nav_html=`导航` footer_html=`页脚` body_class=`体类`**
|
||||
|
||||
## 元数据
|
||||
+ `元数据`
|
||||
|
||||
|
||||
Reference in new issue
Block a user