1
0
Fork 0

Merge pull request #147 from mdoff/add-rel-me-param-to-social-links

Add rel="me" param to social links
This commit is contained in:
南小北 2023-02-08 17:43:07 +08:00 committed by GitHub
commit fe1e28f5d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -84,6 +84,7 @@
style="--url: url(./{{ . }}.svg)"
href="{{ if eq . `rss` }} {{ `index.xml` | absURL }} {{ else if eq . `mastodon` }} {{ site.Params.Get . }} {{ else }} https://{{ . }}.com/{{ site.Params.Get . }} {{ end }}"
target="_blank"
{{ if ne . `rss` }}rel="me"{{ end }}
></a>
{{ end }}<!---->
</nav>