# HG changeset patch # User Cédric Krier <ced@b2ck.com> # Date 1563094563 -7200 # Sun Jul 14 10:56:03 2019 +0200 # Node ID 072f3cc1cc68af6dc5ea0835f830d06584f936e8 # Parent c72f6e961c24ab70914eab26d97b7810cdcb9bd3 Add noopener to _blank links It improves the performance and the security by forcing a different process for the page. diff --git a/templates/layout.html b/templates/layout.html --- a/templates/layout.html +++ b/templates/layout.html @@ -111,11 +111,11 @@ </p> <div class="socials"> <h2>Follow us</h2> - <a href="https://twitter.com/TrytonSoftware" target="_blank" class="mr-3 wow zoomIn icon icon-twitter-box i-36" data-wow-delay=".2s"><span class="sr-only">Twitter</span></a> - <a href="https://www.facebook.com/TrytonSoftware/" target="_blank" class="mr-3 wow zoomIn icon icon-facebook-box i-36" data-wow-delay=".1s"><span class="sr-only">Facebook</span></a> - <a href="https://www.linkedin.com/groups/1313967" target="_blank" class="mr-3 wow zoomIn icon icon-linkedin-box i-36" data-wow-delay=".3s"><span class="sr-only">LinkedIn</span></a> - <a href="https://www.youtube.com/c/TrytonSoftware" target="_blank" class="mr-3 wow zoomIn icon icon-youtube i-36" data-wow-delay=".4s"><span class="sr-only">YouTube</span></a> - <a href="https://vimeo.com/groups/tryton" target="_blank" class="mr-3 wow zoomIn icon icon-vimeo i-36" data-wow-delay=".5s"><span class="sr-only">Vimeo</span></a> + <a href="https://twitter.com/TrytonSoftware" target="_blank" rel="noopener" class="mr-3 wow zoomIn icon icon-twitter-box i-36" data-wow-delay=".2s"><span class="sr-only">Twitter</span></a> + <a href="https://www.facebook.com/TrytonSoftware/" target="_blank" rel="noopener" class="mr-3 wow zoomIn icon icon-facebook-box i-36" data-wow-delay=".1s"><span class="sr-only">Facebook</span></a> + <a href="https://www.linkedin.com/groups/1313967" target="_blank" rel="noopener" class="mr-3 wow zoomIn icon icon-linkedin-box i-36" data-wow-delay=".3s"><span class="sr-only">LinkedIn</span></a> + <a href="https://www.youtube.com/c/TrytonSoftware" target="_blank" rel="noopener" class="mr-3 wow zoomIn icon icon-youtube i-36" data-wow-delay=".4s"><span class="sr-only">YouTube</span></a> + <a href="https://vimeo.com/groups/tryton" target="_blank" rel="noopener" class="mr-3 wow zoomIn icon icon-vimeo i-36" data-wow-delay=".5s"><span class="sr-only">Vimeo</span></a> </div> </div> </div> @@ -126,7 +126,7 @@ <div class="container"> <div class="row"> <div class="col col-12 col-md-6">Contents © {{ copyright_dates }} Tryton <a href="https://creativecommons.org/licenses/by-sa/3.0/">CC BY-SA 3.0</a></div> - <div class="col col-12 col-md-6 text-md-right">Made with <a href="https://www.palletsprojects.com/p/flask/">Flask</a> and delivered through <a href="https://www.keycdn.com/">KeyCDN</a></div> + <div class="col col-12 col-md-6 text-md-right">Made with <a target="_blank" rel="noopener" href="https://www.palletsprojects.com/p/flask/">Flask</a> and delivered through <a target="_blank" rel="noopener" href="https://www.keycdn.com/">KeyCDN</a></div> </div> </div> </div>