From 6b66dc32d490feb10f938e704600d05f63245e94 Mon Sep 17 00:00:00 2001
From: Regis Philibert <login@regisphilibert.com>
Date: Fri, 02 Dec 2022 19:22:06 +0000
Subject: [PATCH] Add a `rel` option to social registers (#596)
---
README.md | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/README.md b/README.md
index a16654a..62be9a6 100644
--- a/README.md
+++ b/README.md
@@ -135,7 +135,7 @@
- name*: It matches the built-in service reference (Ex: twitter, github)
- url*: The url of the handle's profile on the service (Ex: https://twitter.com/theNewDynamic, https://github.com/
theNewDynamic)
-
+- rel: Optional. Allows to add a `rel` attribute to the follow link. Useful for Mastodon verification which requires a `rel="me"` on the link.
```yaml
params:
ananke_socials:
@@ -143,6 +143,9 @@
url: https://twitter.com/theNewDynamic
- name: github
url: https://github.com/theNewDynamic
+ - name: mastodon
+ url: https://social.example.com/@username
+ rel: me
```
If user needs to overwrite default `color` and `label` of the service, they simply need to append the following to the entry:
--
Gitblit v1.10.0