diff --git a/packages/plugs/core/page.ts b/packages/plugs/core/page.ts index dc1e5cc..6b51bfc 100644 --- a/packages/plugs/core/page.ts +++ b/packages/plugs/core/page.ts @@ -112,6 +112,10 @@ export async function renamePage() { if (!newName) { return; } + + if (newName.trim() === oldName.trim()) { + return; + } console.log("New name", newName); let pagesToUpdate = await getBackLinks(oldName);