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

View file

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