diff options
Diffstat (limited to '_includes')
| -rw-r--r-- | _includes/footer.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/_includes/footer.html b/_includes/footer.html index df02f22..6ee180d 100644 --- a/_includes/footer.html +++ b/_includes/footer.html | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | for (let i = 0, linksLength = links.length; i < linksLength; i++) { | 26 | for (let i = 0, linksLength = links.length; i < linksLength; i++) { |
| 27 | if (links[i].hostname != window.location.hostname) { | 27 | if (links[i].hostname != window.location.hostname) { |
| 28 | links[i].target = '_blank'; | 28 | links[i].target = '_blank'; |
| 29 | links[i].setAttribute('rel', 'noopener'); | ||
| 29 | } | 30 | } |
| 30 | } | 31 | } |
| 31 | </script> | 32 | </script> |
