Skip to content

Commit

Permalink
Add nofollow & noreferrer to social media external links in base temp…
Browse files Browse the repository at this point in the history
…late
  • Loading branch information
RoBizMan committed Nov 27, 2024
1 parent a4726ad commit fb665eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions templates/allauth/layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,19 +170,19 @@ <h6 class="custom-text-h6">If you have any enquiries, please contact us</h6>
<h6 class="custom-text-h6 custom-socmed-links-h6"><strong>Social Media:</strong></h6>
<ul class="nav flex-column custom-socmed-links">
<li class="nav-item">
<a target="_blank" href="https://www.facebook.com/" class="nav-link">
<a target="_blank" rel="nofollow noreferrer" href="https://www.facebook.com/" class="nav-link">
<i class="fa-brands fa-facebook social-media-custom" aria-hidden="true"></i>
<span class="sr-only">Facebook</span>
</a>
</li>
<li class="nav-item">
<a target="_blank" href="https://www.instagram.com/" class="nav-link">
<a target="_blank" rel="nofollow noreferrer" href="https://www.instagram.com/" class="nav-link">
<i class="fa-brands fa-instagram social-media-custom" aria-hidden="true"></i>
<span class="sr-only">Instagram</span>
</a>
</li>
<li class="nav-item">
<a target="_blank" href="https://x.com/" class="nav-link">
<a target="_blank" rel="nofollow noreferrer" href="https://x.com/" class="nav-link">
<i class="fa-brands fa-x-twitter social-media-custom" aria-hidden="true"></i>
<span class="sr-only">X</span>
</a>
Expand Down
6 changes: 3 additions & 3 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,19 +170,19 @@ <h6 class="custom-text-h6">If you have any enquiries, please contact us</h6>
<h6 class="custom-text-h6 custom-socmed-links-h6"><strong>Social Media:</strong></h6>
<ul class="nav flex-column custom-socmed-links">
<li class="nav-item">
<a target="_blank" href="https://www.facebook.com/" class="nav-link">
<a target="_blank" rel="nofollow noreferrer" href="https://www.facebook.com/" class="nav-link">
<i class="fa-brands fa-facebook social-media-custom" aria-hidden="true"></i>
<span class="sr-only">Facebook</span>
</a>
</li>
<li class="nav-item">
<a target="_blank" href="https://www.instagram.com/" class="nav-link">
<a target="_blank" rel="nofollow noreferrer" href="https://www.instagram.com/" class="nav-link">
<i class="fa-brands fa-instagram social-media-custom" aria-hidden="true"></i>
<span class="sr-only">Instagram</span>
</a>
</li>
<li class="nav-item">
<a target="_blank" href="https://x.com/" class="nav-link">
<a target="_blank" rel="nofollow noreferrer" href="https://x.com/" class="nav-link">
<i class="fa-brands fa-x-twitter social-media-custom" aria-hidden="true"></i>
<span class="sr-only">X</span>
</a>
Expand Down

0 comments on commit fb665eb

Please sign in to comment.