Standard

Apart from the content and href parameter, link component can also accept a blank parameter, which indicates whether the link should open in a new tab or not. If blank is set to true, the link will have the attribute target="_blank", causing it to open in a new browser tab when clicked. If blank is not set or is false, the link will open in the same tab by default. In addition, depending on theme implementation, blank may set noreferrer or noopener as a default value for rel attribute.

{%- call ui.util.call(show_example) -%} {%- raw %} {{ ui.link("Internal link", href="?") }} {{ ui.link("External link", href="https://ckan.org", blank=true) }} {%- endraw %} {%- endcall %}