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