egoist/docute

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Add an option to decide when to open externel links at new tabs? #146

richardchien posted onGitHub

The current behavior is to open externel links (path with full url) at new tabs, but sometimes I don't want this (e.g. a navbar item which links to a page relevant to the current page, and the user may not want to go back).

What about adding an option like this:

nav: [
  { title: '首页', path: '/' },
  { title: '文档', path: window.location.href + 'docs/', targetBlank: false },
],

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests