Update configuration-markup.md (add rel="noopener")

This commit is contained in:
Henk Verlinde authored and GitHub committed 2020-05-11 12:09:12 +02:00
1 parent 95bd7974ee
commit 2ce21c34b2
1 file changed
+1 -1
@@ -134,7 +134,7 @@ PlainText
Here is a code example for how the render-link.html template could look: Here is a code example for how the render-link.html template could look:
{{< code file="layouts/_default/_markup/render-link.html" >}} {{< code file="layouts/_default/_markup/render-link.html" >}}
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text | safeHTML }}</a> <a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>
{{< /code >}} {{< /code >}}
#### Image Markdown example: #### Image Markdown example: