diff options
author | Christoph Petrausch <chrobbert@gmail.com> | 2022-11-06 15:11:50 +0300 |
---|---|---|
committer | Christoph Petrausch <chrobbert@gmail.com> | 2022-11-06 15:11:50 +0300 |
commit | bbfaeabe0927bc92ff609ccabb2984741bbcae3f (patch) | |
tree | da6e27c23a85f9ef87afc5b2fe0918746d9c806e | |
parent | ce1dfd1d3dc1e298aea81ebb4120f235a02247cb (diff) |
Add rel=me attribute
This attribute is used by many tools like mastodon to check if a website belongs to a certain user profile.
Details can be found here: https://microformats.org/wiki/rel-me
-rw-r--r-- | layouts/partials/header.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index a36c370..ae1c637 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -30,7 +30,7 @@ <nav><ul> {{- range $index, $key := .Site.Params.Social }} {{- if $key.url }} -<li><a href="{{ relURL $key.url }}"><i title="{{ $key.name }}" class="icons {{ $key.icon }}"></i></a></li> +<li><a href="{{ relURL $key.url }}" rel="me"><i title="{{ $key.name }}" class="icons {{ $key.icon }}"></i></a></li> {{- else }} <li><a href="{{ $key.cmd }}"><i title="{{ $key.name }}" class="icons {{ $key.icon }}"></i></a></li> {{- end }} |