fix: page refs

This commit is contained in:
Tienson Qin
2022-08-31 03:19:15 +08:00
parent 336fa578d5
commit 9e2d6e7cfb
3 changed files with 8 additions and 5 deletions

View File

@@ -298,15 +298,15 @@ prop-d:: nada"}])
(load-test-files
[{:file/path "pages/page1.md"
:file/content "---
tags: [[page-tag-1]], page-tag-2
tags: [[page-tag-1]], [[page-tag-2]]
---"}
{:file/path "pages/page2.md"
:file/content "---
tags: page-tag-2, [[page-tag-3]]
tags: [[page-tag-2]], [[page-tag-3]]
---"}
{:file/path "pages/page3.md"
:file/content "---
tags: other
tags: [[other]]
---"}])
(are [x y] (= (set y) (set (map :block/name (dsl-query x))))