From 861136354918ee1f25aaf1e07c80b5a9b88b6ade Mon Sep 17 00:00:00 2001 From: Tom Morris Date: Sat, 29 Oct 2022 13:04:21 +0100 Subject: [PATCH] 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 --- layouts/partials/sidebar/left.html | 1 + 1 file changed, 1 insertion(+) 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 }}