diff options
author | Tom Morris <tom@tommorris.org> | 2022-10-29 15:04:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-29 15:04:21 +0300 |
commit | 861136354918ee1f25aaf1e07c80b5a9b88b6ade (patch) | |
tree | 2ae0557832a9ddbaece1620dc0e3cc6f6e4b0895 /layouts/partials/sidebar/left.html | |
parent | 73437f24eab862e71f087d6835a543882ce99296 (diff) |
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
Diffstat (limited to 'layouts/partials/sidebar/left.html')
-rw-r--r-- | layouts/partials/sidebar/left.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/partials/sidebar/left.html b/layouts/partials/sidebar/left.html index f255389..f94e50a 100644 --- a/layouts/partials/sidebar/left.html +++ b/layouts/partials/sidebar/left.html @@ -45,6 +45,7 @@ href='{{ .URL }}' {{ if eq (default true .Params.newTab) true }}target="_blank"{{ end }} {{ with .Name }}title="{{ . }}"{{ end }} + rel="me" > {{ $icon := default "link" .Params.Icon }} {{ with $icon }} |