An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Creating a dailynote template supports the doc icon https://github.com/siyuan-note/siyuan/issues/12416
Daniela17015dfdc73
diff --git a/kernel/model/file.go b/kernel/model/file.goindex 48ef74edb8..8e3de81c05 100644--- a/kernel/model/file.go+++ b/kernel/model/file.go@@ -1253,7 +1253,7 @@ func CreateDailyNote(boxID string) (p string, existed bool, err error) {// Creating a dailynote template supports doc attributes https://github.com/siyuan-note/siyuan/issues/10698templateIALs := parse.IAL2Map(templateTree.Root.KramdownIAL)for k, v := range templateIALs {- if "name" == k || "alias" == k || "bookmark" == k || "memo" == k || strings.HasPrefix(k, "custom-") {+ if "name" == k || "alias" == k || "bookmark" == k || "memo" == k || "icon" == k || strings.HasPrefix(k, "custom-") {tree.Root.SetIALAttr(k, v)}}