From 6fbaa1503fa384192d5110a617ff995264b3ff71 Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Tue, 22 Nov 2022 07:51:33 +0800 Subject: [PATCH] feat: add rel-me and mastodon (#114) ![preview](https://gitea.com/attachments/6aa08248-ca59-4f7c-82e2-97ab6d5984a3) Closes #106 Co-authored-by: jolheiser Reviewed-on: https://gitea.com/gitea/website/pulls/114 Reviewed-by: Lauris BH Reviewed-by: Lunny Xiao Co-authored-by: John Olheiser Co-committed-by: John Olheiser --- config.yaml | 6 ++++++ layouts/partials/toplinks.html | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/config.yaml b/config.yaml index 56dfcb3..08770c8 100644 --- a/config.yaml +++ b/config.yaml @@ -64,6 +64,12 @@ menu: url: https://discourse.gitea.io/ weight: 70 pre: group + - name: Mastodon + url: https://social.gitea.io/@gitea + weight: 75 + pre: mastodon + params: + rel: me - name: Twitter url: https://twitter.com/giteaio weight: 80 diff --git a/layouts/partials/toplinks.html b/layouts/partials/toplinks.html index 3ea6149..7bb3dde 100644 --- a/layouts/partials/toplinks.html +++ b/layouts/partials/toplinks.html @@ -14,7 +14,7 @@ {{ else }} - +   {{ .Name }}