Skip to content

Commit

Permalink
remove /md/ from title-line
Browse files Browse the repository at this point in the history
  • Loading branch information
guFalcon committed Apr 16, 2024
1 parent 8b66428 commit 94569c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion obsidian.js
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ async function getTopBar(startPage, req) {
)}</button>
<div class="topbar-title nav-font">${
req.path !== "/convert/"
? decodeURIComponent(req.path)
? decodeURIComponent(req.path.startsWith(`/${dirPrefix}`) ? req.path.slice(dirPrefix.length + 1) : req.path)
: decodeURIComponent(req.query.url)
}</div>
<div class="topbar-menu">
Expand Down

0 comments on commit 94569c1

Please sign in to comment.