mirror of https://gitea.com/gitea/website.git
feat: add rel-me and mastodon
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
parent
cd6b03ec84
commit
1726c31c23
|
@ -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
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
</div>
|
||||
</div>
|
||||
{{ else }}
|
||||
<a class="navbar-item" href="{{ .URL }}">
|
||||
<a class="navbar-item" {{ if .Params.rel }}rel="{{ .Params.rel }}"{{ end }} href="{{ .URL }}">
|
||||
<i class="fa fa-{{ .Pre }}"></i>
|
||||
{{ .Name }}
|
||||
</a>
|
||||
|
|
Loading…
Reference in New Issue