mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 08:04:40 +00:00
enhance: display namespace routes for the last sub page in hierarchy
For example, if there're two pages [[a/c]] and [[b/c]], both a and b will be listed in the hierarchy part in the page `c`.
This commit is contained in:
@@ -86,8 +86,7 @@
|
||||
content))
|
||||
"Page no longer exists!!")
|
||||
(let [page (db/pull [:block/name (string/lower-case name)])]
|
||||
(or (:block/original-name page)
|
||||
(:block/name page)
|
||||
(or (util/get-page-original-name page)
|
||||
"Logseq"))))
|
||||
:tag
|
||||
(str "#" (:name path-params))
|
||||
|
||||
Reference in New Issue
Block a user