feat(parse): use nested YAML import: maps instead of one-liner binds
Frontmatter imports are now valid YAML (`import:` / `导入:` with bind→target entries), removing spaced keys. Add `marqdo migrate imports`, hard-error the old one-liner form, and migrate lib/ext/examples/tests/docs accordingly. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
8bbe017a5e
commit
687c168014
364 files changed
+1870
-1004
No files matched your search
@@ -1,9 +1,10 @@
|
||||
---
|
||||
title: db/index
|
||||
description: Open sqlite, init articles, seed once.
|
||||
import web:ext/web/web.mq.md
|
||||
import articles:articles.mq.md
|
||||
import fs:lib/fs.mq.md
|
||||
import:
|
||||
web: ext/web/web.mq.md
|
||||
articles: articles.mq.md
|
||||
fs: lib/fs.mq.md
|
||||
---
|
||||
|
||||
## open
|
||||
|
||||
@@ -3,14 +3,15 @@ title: web-site
|
||||
description: >-
|
||||
WWW Demo sample — GFM tables for shell, schema, forms, styles, and admin.
|
||||
Author business JavaScript: none. Author hand-written .css: none.
|
||||
import web:ext/web/web.mq.md
|
||||
import shell:styles/shell.mq.md
|
||||
import nav:components/nav.mq.md
|
||||
import side:components/side.mq.md
|
||||
import foot:components/foot.mq.md
|
||||
import desk:components/desk.mq.md
|
||||
import articles:db/articles.mq.md
|
||||
import db:db/index.mq.md
|
||||
import:
|
||||
web: ext/web/web.mq.md
|
||||
shell: styles/shell.mq.md
|
||||
nav: components/nav.mq.md
|
||||
side: components/side.mq.md
|
||||
foot: components/foot.mq.md
|
||||
desk: components/desk.mq.md
|
||||
articles: db/articles.mq.md
|
||||
db: db/index.mq.md
|
||||
---
|
||||
|
||||
# main
|
||||
|
||||
@@ -3,8 +3,9 @@ title: styles/shell
|
||||
description: >-
|
||||
Literary dark theme for examples/web-site — ink / wine / gold after the
|
||||
anlian.cyou Zhang Ailing topic. GFM tables only; no author .css.
|
||||
import web:ext/web/web.mq.md
|
||||
import text:lib/text.mq.md
|
||||
import:
|
||||
web: ext/web/web.mq.md
|
||||
text: lib/text.mq.md
|
||||
---
|
||||
|
||||
Authors style the site with **GFM tables** only. App pages use `shell_css=off`
|
||||
|
||||
Reference in new issue
Block a user