[
https://issues.apache.org/jira/browse/CAMEL-13888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16914251#comment-16914251
]
Zoran Regvart commented on CAMEL-13888:
---------------------------------------
For Hugo generated content we can add this to the
[config.toml|https://github.com/apache/camel-website/blob/master/config.toml]:
{code:yaml}
[blackfriday]
hrefTargetBlank = true
nofollowLinks = true
noreferrerLinks = true
{code}
Which also adds {{nofollow}}, {{noopener}} for {{target="_blank"}} is [on by
default|https://html.spec.whatwg.org/multipage/links.html#opener-processing-model].
For Asciidoc rendered content (user manual, component reference), we need to
change the markup of external links:
{code:none}
http://example.com[Example link^,opts=nofollow,noreferrer]
{code}
> New web site: open foreign links in new window (tab)
> ----------------------------------------------------
>
> Key: CAMEL-13888
> URL: https://issues.apache.org/jira/browse/CAMEL-13888
> Project: Camel
> Issue Type: Sub-task
> Components: website
> Reporter: Dmitry Volodin
> Priority: Minor
>
> It can be discussing, but would be nice to open all foreign links as new
> windows (tabs) for better usability while working with site, as some foreign
> resources not working correctly with return back to the original site page.
> Thank you.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)