mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-23 10:21:46 +01:00
feat: add rel=me
to social links (#707)
Adds rel-me to social links [rel="me"] is a commonly used way to show that that two websites or social media accounts are the same, and is used for authentication and proving site ownership in a variety of ways. [rel="me"]: https://indieweb.org/rel-me
This commit is contained in:
parent
73437f24ea
commit
8611363549
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@
|
||||||
href='{{ .URL }}'
|
href='{{ .URL }}'
|
||||||
{{ if eq (default true .Params.newTab) true }}target="_blank"{{ end }}
|
{{ if eq (default true .Params.newTab) true }}target="_blank"{{ end }}
|
||||||
{{ with .Name }}title="{{ . }}"{{ end }}
|
{{ with .Name }}title="{{ . }}"{{ end }}
|
||||||
|
rel="me"
|
||||||
>
|
>
|
||||||
{{ $icon := default "link" .Params.Icon }}
|
{{ $icon := default "link" .Params.Icon }}
|
||||||
{{ with $icon }}
|
{{ with $icon }}
|
||||||
|
|
Loading…
Reference in a new issue