Scope article feeds and expand canvas editing

This commit is contained in:
2026-11-21 22:55:59 +08:00
parent a2fc628f08
commit 9bc0ee0e45
32 changed files with 476 additions and 67 deletions
+2
View File
@@ -13,6 +13,7 @@ CREATE TABLE IF NOT EXISTS pages (
image TEXT NOT NULL,
alt TEXT NOT NULL,
image_scale INTEGER NOT NULL DEFAULT 0,
alignments TEXT NOT NULL DEFAULT '{}',
actions TEXT NOT NULL,
quicklinks TEXT NOT NULL,
status TEXT NOT NULL DEFAULT 'published' CHECK (status IN ('draft', 'published')),
@@ -26,6 +27,7 @@ CREATE TABLE IF NOT EXISTS sections (
lead TEXT NOT NULL,
style TEXT NOT NULL DEFAULT 'plain',
feed TEXT,
alignments TEXT NOT NULL DEFAULT '{}',
body TEXT NOT NULL,
position INTEGER NOT NULL,
version INTEGER NOT NULL DEFAULT 0,
+1 -1
View File
@@ -49,7 +49,7 @@
"title": "来笙动态",
"lead": "",
"style": "plain",
"body": "<p><a class=\"back-link\" href=\"/articles\">查看全部动态</a></p>",
"body": "",
"feed": {
"categories": [
"announcement",