Add 'rel=nofollow noopener noreferrer' to external links

This commit is contained in:
Pieter Vander Vennet 2022-12-31 15:11:12 +01:00
parent 8fc63d8908
commit 18399bafb0

View file

@ -284,7 +284,7 @@
"da": "Hvad er webstedet for {title()}?",
"cs": "Jaká je webová stránka {title()}?"
},
"render": "<a href='{website}' target='_blank'>{website}</a>",
"render": "<a href='{website}' rel='nofollow noopener noreferrer' target='_blank'>{website}</a>",
"freeform": {
"key": "website",
"type": "url",
@ -295,7 +295,7 @@
"mappings": [
{
"if": "contact:website~*",
"then": "<a href='{contact:website}' target='_blank'>{contact:website}</a>",
"then": "<a href='{contact:website}' rel='nofollow noopener noreferrer' target='_blank'>{contact:website}</a>",
"hideInAnswer": true
}
]