Don't force-open links on a blank page, add rel=noopener

This commit is contained in:
Anna Sidwell 2019-11-14 01:28:00 +00:00
parent 5d21e5ecb3
commit 1e60a29875
2 changed files with 5 additions and 6 deletions

View File

@ -2,13 +2,13 @@
<footer id="footer">
<ul class="icons">
{% if site.twitter_url %}
<li><a href="{{ site.twitter_url }}" class="icon fa-twitter" target="_blank"><span class="label">Twitter</span></a></li>
<li><a rel="noopener" href="{{ site.twitter_url }}" class="icon fa-twitter"><span class="label">Twitter</span></a></li>
{% endif %} {% if site.500px_url %}
<li><a href="{{ site.500px_url }}" class="icon fa-500px" target="_blank"><span class="label">500px</span></a></li>
<li><a rel="noopener" href="{{ site.500px_url }}" class="icon fa-500px"><span class="label">500px</span></a></li>
{% endif %} {% if site.gitlab_url %}
<li><a href="{{ site.gitlab_url }}" class="icon fa-gitlab" target="_blank"><span class="label">GitLab</span></a></li>
<li><a rel="noopener" href="{{ site.gitlab_url }}" class="icon fa-gitlab"><span class="label">GitLab</span></a></li>
{% endif %} {% if site.github_url %}
<li><a href="{{ site.github_url }}" class="icon fa-github" target="_blank"><span class="label">GitHub</span></a></li>
<li><a rel="noopener" href="{{ site.github_url }}" class="icon fa-github"><span class="label">GitHub</span></a></li>
{% endif %}
</ul>
<ul class="copyright">
@ -34,5 +34,4 @@
<script src="{{ "/assets/js/main.js" | absolute_url }}"></script>
</body>
</html>

View File

@ -1,5 +1,5 @@
<section class="wrapper style5 special compressed">
<a href="https://www.coops.tech/" target="_blank">
<a rel="noopener" href="https://www.coops.tech/">
<img src="/assets/images/Member-of-CoTech-logo-200.png" alt="Member of Co-Tech"/>
</a>
</section>