diff options
author | Aziz <64666452+httpsecure@users.noreply.github.com> | 2022-09-16 12:59:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-16 12:59:06 +0300 |
commit | d1cecf061c261822b53f3252ac13ce9b6fc13630 (patch) | |
tree | 89d25264c8fb935335581885c0bae5d5f64a23a2 | |
parent | cff71bf5f5fdfd3480057c1f7312b56f7495095d (diff) |
Update and rename render-link.html to render-link.html.example
-rw-r--r-- | layouts/_default/_markup/render-link.html.example (renamed from layouts/_default/_markup/render-link.html) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html.example index 0d25039..69a1c1a 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html.example @@ -1 +1 @@ -<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="nofollow noopener noreferrer"{{ end }}>{{ .Text | safeHTML }}</a> +<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener noreferrer"{{ end }}>{{ .Text | safeHTML }}</a> |