Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _data/contact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ links:
- label: "Mastodon"
icon_class: "fab fa-mastodon"
url: "https://techhub.social/@msicc"
rel_me: true
- label: "Bluesky"
icon_class: "fab fa-bluesky"
url: "https://bsky.app/profile/msicc.net"
2 changes: 1 addition & 1 deletion _includes/site-footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ul class="icon-links" aria-label="Contact links">
{% for link in site.data.contact.links %}
<li>
<a href="{{ link.url }}" target="_blank" rel="noopener noreferrer" aria-label="{{ link.label }}" title="{{ link.label }}">
<a href="{{ link.url }}" target="_blank" rel="{% if link.rel_me %}me {% endif %}noopener noreferrer" aria-label="{{ link.label }}" title="{{ link.label }}">
<i class="{{ link.icon_class }}" aria-hidden="true"></i>
</a>
Comment on lines +7 to 9
Copy link

Copilot AI Mar 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rel="me" is intended for identity verification and generally only works reliably when linking from the verifying site to the profile without target="_blank" semantics; some verifiers are strict about the exact link relation and/or the browsing context. Consider only adding target="_blank" (and noopener noreferrer) for non-rel_me links, or make target_blank configurable per-link in the data so the Mastodon link can omit it while preserving the behavior for other links.

Suggested change
<a href="{{ link.url }}" target="_blank" rel="{% if link.rel_me %}me {% endif %}noopener noreferrer" aria-label="{{ link.label }}" title="{{ link.label }}">
<i class="{{ link.icon_class }}" aria-hidden="true"></i>
</a>
{% if link.rel_me %}
<a href="{{ link.url }}" rel="me" aria-label="{{ link.label }}" title="{{ link.label }}">
<i class="{{ link.icon_class }}" aria-hidden="true"></i>
</a>
{% else %}
<a href="{{ link.url }}" target="_blank" rel="noopener noreferrer" aria-label="{{ link.label }}" title="{{ link.label }}">
<i class="{{ link.icon_class }}" aria-hidden="true"></i>
</a>
{% endif %}

Copilot uses AI. Check for mistakes.
</li>
Expand Down
Loading