Skip to content

Commit

Permalink
Add "me" keyword to certain links
Browse files Browse the repository at this point in the history
This commit adds the "me" keyword to certain hyperlinks in the profile widget, which allows users of the Icarus theme to verify their identities (e.g., on Mastodon—see https://joinmastodon.org/verification).
  • Loading branch information
ZelnickB committed Apr 20, 2024
1 parent 866c59f commit 82d1684
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layout/widget/profile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Profile extends Component {
return <div class="level is-mobile is-multiline">
{links.filter(link => typeof link === 'object').map(link => {
return <a class="level-item button is-transparent is-marginless"
target="_blank" rel="noopener" title={link.name} href={link.url}>
target="_blank" rel="me noopener" title={link.name} href={link.url}>
{'icon' in link ? <i class={link.icon}></i> : link.name}
</a>;
})}
Expand Down Expand Up @@ -73,7 +73,7 @@ class Profile extends Component {
</div>
</nav>
{followLink ? <div class="level">
<a class="level-item button is-primary is-rounded" href={followLink} target="_blank" rel="noopener">{followTitle}</a>
<a class="level-item button is-primary is-rounded" href={followLink} target="_blank" rel="me noopener">{followTitle}</a>
</div> : null}
{socialLinks ? this.renderSocialLinks(socialLinks) : null}
</div>
Expand Down

0 comments on commit 82d1684

Please sign in to comment.