Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Doc title image path

Danielf58623af6b31
diff --git a/kernel/sql/asset.go b/kernel/sql/asset.go
index 3fb9c43e11..28f23ff34e 100644
--- a/kernel/sql/asset.go
+++ b/kernel/sql/asset.go
@@ -81,7 +81,7 @@ func docTitleImgAsset(root *ast.Node) *Asset {
BlockID: root.ID,
RootID: root.ID,
Box: root.Box,
- DocPath: p,
+ DocPath: root.Path,
Path: p,
Name: name,
Title: "title-img",