Skip to content

Commit 4020347

Browse files
committed
fix: remove target="_blank" to respect the user
1 parent d2ad3fc commit 4020347

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

templates/footer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% if config.extra.footer_content_license %}
44
<div>Except where otherwise noted, content on this site is licensed under a
55
{% if config.extra.footer_content_license_link %}
6-
<a target="_blank" rel="noopener noreferrer"
6+
<a rel="noopener noreferrer"
77
href="{{config.extra.footer_content_license_link}}">{{config.extra.footer_content_license}}</a>
88
{% else %}
99
{{config.extra.footer_content_license}}
@@ -16,7 +16,7 @@
1616
</div>
1717
{% if config.generate_feeds %}
1818
<div>
19-
<a class="no-style" target="_blank" rel="noopener noreferrer" href="{{ get_url(path="atom.xml",
19+
<a class="no-style" rel="noopener noreferrer" href="{{ get_url(path="atom.xml",
2020
trailing_slash=false) }}" title="Subscribe via RSS for updates."><svg class="icons">
2121
<use href="{{ get_url(path='icons.svg#rss', trailing_slash=false) | safe }}"></use>
2222
</svg></a>

templates/shortcodes/link.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<a href="{{link}}" target="_blank" rel="me">{{display}}</a>
1+
<a href="{{link}}" rel="me">{{display}}</a>

templates/shortcodes/webring.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<a class="no-style" href={{prev}}><svg class="icons">
33
<use href="{{ get_url(path='icons.svg#chevronLeft', trailing_slash=false) | safe }}"></use>
44
</svg></a>
5-
<a target="_blank" href={{webring}}>{{webringName}}</a>
5+
<a href={{webring}}>{{webringName}}</a>
66
<a class="no-style" href={{next}}><svg class="icons">
77
<use href="{{ get_url(path='icons.svg#chevronRight', trailing_slash=false) | safe }}"></use>
88
</svg></a></span>

templates/webmentions.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ <h2>Webmentions</h2>
4444
<div class="webmention-like">
4545
{% for mention in likes %}
4646
{% if mention["wm-property"] == "like-of" %}
47-
<a target="_blank" rel="noopener" href="{{mention.author.url}}"><img src="{{mention.author.photo}}"
47+
<a rel="noopener" href="{{mention.author.url}}"><img src="{{mention.author.photo}}"
4848
title="{{mention.author.name}}"></a>
4949
{% endif %}
5050
{% endfor %}
@@ -61,7 +61,7 @@ <h2>Webmentions</h2>
6161
<div class="webmention-repost">
6262
{% for mention in boosts %}
6363
{% if mention["wm-property"] == "repost-of" %}
64-
<a target="_blank" rel="noopener" href="{{mention.author.url}}"><img src="{{mention.author.photo}}"
64+
<a rel="noopener" href="{{mention.author.url}}"><img src="{{mention.author.photo}}"
6565
title="{{mention.author.name}}"></a>
6666
{% endif %}
6767
{% endfor %}

0 commit comments

Comments
 (0)