mirror of
https://github.com/mattermost/focalboard.git
synced 2024-11-27 08:31:20 +02:00
Website: Open external links in new tab
This commit is contained in:
parent
41e362cfd3
commit
9c78e8a9cf
1
website/site/layouts/_default/_markup/render-link.html
Normal file
1
website/site/layouts/_default/_markup/render-link.html
Normal file
@ -0,0 +1 @@
|
||||
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener noreferrer"{{ end }}>{{ .Text }}</a>
|
Loading…
Reference in New Issue
Block a user