Update render-link.html
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<!-- layouts/_default/_markup/render-link.html -->
|
||||
<a href="{{ .Destination | safeURL }}"
|
||||
{{ with .Title }} title="{{ . }}"{{ end }}
|
||||
<a href="{{ .Destination | safeURL }}" title="{{ .Text | safeHTML }}"
|
||||
{{ if and (strings.HasPrefix .Destination "http") (not (strings.HasPrefix .Destination site.BaseURL)) }}
|
||||
target="_blank" rel="nofollow noopener noreferrer"
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user