Skip to content

Commit

Permalink
Merge pull request wjh18#33 from ajfite/master
Browse files Browse the repository at this point in the history
Add rel=me for Mastodon link verification
  • Loading branch information
wjh18 committed Aug 19, 2023
2 parents f70a390 + d1db068 commit 68e960a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/general/social-links.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<!-- Mastodon -->
{{ if .Site.Params.social.links.mastodon_user }}
<li>
<a href="https://{{ with .Site.Params.social.links.mastodon_server }}{{ . }}{{ else }}mastodon.social{{ end }}/@{{ with .Site.Params.social.links.mastodon_user }}{{ . }}{{ end }}" target="_blank" rel="noopener" aria-label="Visit Mastodon profile" class="social-btn mastodon">
<a href="https://{{ with .Site.Params.social.links.mastodon_server }}{{ . }}{{ else }}mastodon.social{{ end }}/@{{ with .Site.Params.social.links.mastodon_user }}{{ . }}{{ end }}" target="_blank" rel="me noopener" aria-label="Visit Mastodon profile" class="social-btn mastodon">
{{ partial "svg/mastodon.svg" }}
</a>
</li>
Expand Down Expand Up @@ -55,4 +55,4 @@
</li>
{{ end }}
</ul>
</div>
</div>

0 comments on commit 68e960a

Please sign in to comment.