|
@@ -1129,7 +1129,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/10698
|
|
// Creating a dailynote template supports doc attributes https://github.com/siyuan-note/siyuan/issues/10698
|
|
templateIALs := parse.IAL2Map(templateTree.Root.KramdownIAL)
|
|
templateIALs := parse.IAL2Map(templateTree.Root.KramdownIAL)
|
|
for k, v := range templateIALs {
|
|
for k, v := range templateIALs {
|
|
- if "name" == k || "alias" == k || "bookmark" == k || "memo" == k || "title" == k || strings.HasPrefix(k, "custom-") {
|
|
|
|
|
|
+ if "name" == k || "alias" == k || "bookmark" == k || "memo" == k || strings.HasPrefix(k, "custom-") {
|
|
tree.Root.SetIALAttr(k, v)
|
|
tree.Root.SetIALAttr(k, v)
|
|
}
|
|
}
|
|
}
|
|
}
|