enhance: add timestamps for pages created from references and timestamps

This commit is contained in:
Junyi Du
2022-02-25 18:00:48 +08:00
parent 46b86b081b
commit 05f6249f28
3 changed files with 42 additions and 33 deletions

View File

@@ -268,7 +268,7 @@
(if (and (:block/pre-block? block)
(seq (:block/properties block)))
(let [page-properties (:block/properties block)
str->page (fn [n] (block/page-name->map n true))
str->page (fn [n] (block/page-name->map n true true))
refs (->> page-properties
(filter (fn [[_ v]] (coll? v)))
(vals)