diff --git a/chat/src/features/chat/Username.tsx b/chat/src/features/chat/Username.tsx index 49e2a89af..3dbbfcbe4 100644 --- a/chat/src/features/chat/Username.tsx +++ b/chat/src/features/chat/Username.tsx @@ -18,6 +18,7 @@ export function Username({ avatar, color, name, hat = "" }: UsernameProps) { className="avatar-hat profile-pic-20-hat hat" loading="lazy" src={hat} + referrerPolicy="no-referrer" /> )} @@ -26,7 +27,7 @@ export function Username({ avatar, color, name, hat = "" }: UsernameProps) { style={{ color: `#${color}` }} target="_blank" href={`/@${name}`} - rel="noopener noreferrer" + rel="nofollow noopener noreferrer" > {name} diff --git a/files/templates/comments.html b/files/templates/comments.html index 7252479b6..8f48763fc 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -162,7 +162,7 @@
- + {% if c.author.hat_active -%} {%- endif %} diff --git a/files/templates/hats.html b/files/templates/hats.html index bc726b3cb..1e5da9673 100644 --- a/files/templates/hats.html +++ b/files/templates/hats.html @@ -108,7 +108,7 @@
- avatar + avatar {{hat.name}}
diff --git a/files/templates/header.html b/files/templates/header.html index df9783bb2..ae9754f59 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -218,7 +218,7 @@ aria-haspopup="true" aria-expanded="false">
- + {% if v.hat_active -%} {% elif request.path == '/hats' %} diff --git a/files/templates/log.html b/files/templates/log.html index fcd5429b4..bc7127b2b 100644 --- a/files/templates/log.html +++ b/files/templates/log.html @@ -86,7 +86,7 @@
- avatar + avatar {% if ma.user.hat_active -%} {%- endif %} diff --git a/files/templates/notifications.html b/files/templates/notifications.html index 5a9fc6bf4..f944d5d81 100644 --- a/files/templates/notifications.html +++ b/files/templates/notifications.html @@ -74,7 +74,7 @@
- avatar + avatar {% if ma.user.hat_active -%} {%- endif %} diff --git a/files/templates/popover.html b/files/templates/popover.html index 5183117bf..e6c3757c0 100644 --- a/files/templates/popover.html +++ b/files/templates/popover.html @@ -3,7 +3,7 @@
- +
diff --git a/files/templates/settings_profile.html b/files/templates/settings_profile.html index 435597ab6..5bd3c29c3 100644 --- a/files/templates/settings_profile.html +++ b/files/templates/settings_profile.html @@ -211,7 +211,7 @@
- your profile picture + your profile picture
diff --git a/files/templates/submission.html b/files/templates/submission.html index 8c009a2d7..efd55c611 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -672,7 +672,7 @@ {% endif %}