0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-21 17:36:59 -05:00

user/profile: Document how to add rel=me social links

Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
Gergely Nagy 2024-02-04 10:24:47 +01:00 committed by Earl Warren
parent ba0900a4e0
commit 2b0bd8d011

View file

@ -18,3 +18,12 @@ user, if it exists.
![Profile README.md](../_images/user/profile/profile-step2.png)
Making the `.profile` repository private will hide the Profile README.
Rather than supporting multiple social links on the profile card, under the user
avatar, such links - including
[`rel=me`](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/me)
attributes - can be placed in the `.profile` readme instead. This gives a user a
lot of flexibility on how they wish to display these links. To add a `rel=me`
attribute, the link should be written in HTML, rather than in Markdown format,
for example: `<a rel="me"
href="https://social.example.com/@username">Fediverse</a>`.