mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 16:36:27 +00:00
feat: rename a page will rename corresponding namespace pages and files (#2283)
* feat: rename a page will rename corresponding namespace pages and files. * enhance: jump to namespace page instead of the [[page]] itself * namespace: create prefix ns pages instead of pages themselve * fix: only rename files when namespace prefix matches
This commit is contained in:
@@ -278,7 +278,7 @@
|
||||
(not (string/starts-with? p "../"))
|
||||
(not (string/starts-with? p "./"))
|
||||
(not (string/starts-with? p "http")))
|
||||
(string/split p #"/")))
|
||||
(util/split-namespace-pages p)))
|
||||
refs)
|
||||
(remove string/blank?))
|
||||
refs (->> (distinct (concat refs children-pages))
|
||||
|
||||
Reference in New Issue
Block a user