Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dataCobra/hugo-vitae.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Petrausch <chrobbert@gmail.com>2022-11-06 15:11:50 +0300
committerChristoph Petrausch <chrobbert@gmail.com>2022-11-06 15:11:50 +0300
commitbbfaeabe0927bc92ff609ccabb2984741bbcae3f (patch)
treeda6e27c23a85f9ef87afc5b2fe0918746d9c806e
parentce1dfd1d3dc1e298aea81ebb4120f235a02247cb (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.html2
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 }}