Closed pod4g closed 5 years ago
同问
+1
+1
@pod4g dont understand u, write in English if not solved. If solved, close it please.
He wants to add a new item called "pod4g" in the navigation bar. And when clicking that item, the browser should open a new tab for it instead of loading the page directly. It's like using <a href="#" target="_blank">new item</a>
@wghglory alright, thanks for translate! This is already backloged for Next feature, but:
extlink
tag wich may open links in new winows, but it's work with BASE64 encrypt/decrypt format.@ivan-nginx is it solved? what's extlink , can you give us a explain?
@yannxia
Added extlinks
on sidebar author links in NexT v6.0.4 release in this pull.
Now i work under standart links in sidebar author links with target="_blank"
& noopener
attributes. Need to refactor some things.
@ivan-nginx it's cool, thanks for your help..
for example
menu:
home: / || home
about: /about/ || user
#categories: /categories/ || th
archives: /archives/ || archive
wiki: http://wiki.yannxia.top/ || wikipedia-w
most of time, we want to open a new tab for http://wiki.yannxia.top/
, I hope this could help you
I understand what needed. Need more time to refactor some API.
In my case, if I set
wiki: https://wiki.yannxia.top | | wikipeida
The real link would be https://mydomain.tld/wiki.yannxia.top
It seems that setting another link with http
or https
prefix is not working.
It has been fixed in https://github.com/theme-next/hexo-theme-next/pull/476 Try NexT v6.x : https://github.com/theme-next/hexo-theme-next
我在menu上添加了一个新的菜单项,叫pod4g,当点击时,跳转到我的github地址。请问如何在新窗口中跳转到该地址?也就是说指定a标签为target="_blank"