Skip to content

Commit

Permalink
open external links in the new tab (#1153)
Browse files Browse the repository at this point in the history
  • Loading branch information
trean authored Sep 6, 2024
1 parent 7280357 commit f1e3e09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qdrant-landing/layouts/_default/_markup/render-link.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener nofollow"{{ end }}>{{ .Text | safeHTML }}</a>

0 comments on commit f1e3e09

Please sign in to comment.