diff options
author | Matt Burke <burkemw3@gmail.com> | 2018-11-06 22:53:48 -0500 |
---|---|---|
committer | Matt Burke <burkemw3@gmail.com> | 2018-11-07 20:34:54 -0500 |
commit | a22b8043b45b0a5c2859afff90d968300b437c93 (patch) | |
tree | c31b8c80d74b02d16988d3cd10e852339a4cd269 /src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig | |
parent | 078d54411b13e988631821bb15ebc77c252c9601 (diff) | |
download | wallabag-a22b8043b45b0a5c2859afff90d968300b437c93.tar.gz wallabag-a22b8043b45b0a5c2859afff90d968300b437c93.tar.zst wallabag-a22b8043b45b0a5c2859afff90d968300b437c93.zip |
Add rel=noopener to target=_blank links
From https://developers.google.com/web/tools/lighthouse/audits/noopener:
- new pages will run in separate processes, avoiding any performance
intermingling impacts
- new pages won't have access to current page's window object via JavaScript
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig index f0012ad9..052a8c01 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig | |||
@@ -143,7 +143,7 @@ | |||
143 | </div> | 143 | </div> |
144 | <div class="col s12 l4"> | 144 | <div class="col s12 l4"> |
145 | <p class="footer-text"> | 145 | <p class="footer-text"> |
146 | {{ 'footer.wallabag.powered_by'|trans }} <a target="_blank" href="https://wallabag.org" class="grey-text text-lighten-4">wallabag</a> – | 146 | {{ 'footer.wallabag.powered_by'|trans }} <a target="_blank" rel="noopener" href="https://wallabag.org" class="grey-text text-lighten-4">wallabag</a> – |
147 | <a class="grey-text text-lighten-4" href="{{ path('about') }}">{{ 'footer.wallabag.about'|trans|lower }}</a> | 147 | <a class="grey-text text-lighten-4" href="{{ path('about') }}">{{ 'footer.wallabag.about'|trans|lower }}</a> |
148 | </p> | 148 | </p> |
149 | </div> | 149 | </div> |