Skip to content

Commit 3dd5526

Browse files
authored
[docsy] Add Contact section (#99)
1 parent 638b8a1 commit 3dd5526

File tree

3 files changed

+32
-9
lines changed

3 files changed

+32
-9
lines changed

content/en/community/_index.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,24 @@
22
title: Community
33
menu: { main: { weight: 40 } }
44
cascade: { type: docs }
5-
contributingUrl: https://github.com/theupdateframework/community
5+
contributingUrl: https://github.com/theupdateframework/community/blob/main/CONTRIBUTING.md
6+
aliases: [/contact]
67
---
78

89
{{% community-lists %}}
10+
11+
## Contact
12+
13+
- **[TUF Google group]** is the best way to reach us.
14+
- **General questions, feedback, and suggestions** are welcome on this low
15+
volume mailing list or the
16+
[#tuf](https://cloud-native.slack.com/archives/C8NMD3QJ3) channel on
17+
[CNCF Slack](https://slack.cncf.io/).
18+
- **Specification**: we strive to make the specification easy to implement, so
19+
if you come across any inconsistencies or experience any difficulty, do let us
20+
know by sending an email, or by [creating an issue in the specification
21+
repo][issue].
22+
23+
[issue]: https://github.com/theupdateframework/specification/issues
24+
25+
[TUF Google group]: {{% param "links.google_group" %}}

hugo.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,14 @@ params:
100100
href="https://github.com/ORG/PROJECT/issues/new">tell us how we can
101101
improve</a>.
102102
links:
103+
google_group: &google_group https://groups.google.com/g/theupdateframework
103104
user:
105+
- name: Contact
106+
url: /community/#contact
107+
icon: fa-solid fa-address-book
108+
desc: Questions, feedback, and suggestions are welcome!
104109
- name: TUF Google group
105-
url: https://groups.google.com/g/theupdateframework
110+
url: *google_group
106111
icon: fa-solid fa-envelope
107112
desc: Sign up for TUF announcements.
108113
- name: Slack channel

layouts/shortcodes/community-lists.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,29 @@
11
{{ $links := .Site.Params.links -}}
2+
{{ $contribUrl := .Page.Params.contributingUrl | default "docs/contribution-guidelines" -}}
23

34
<p>{{ T "community_introduce" . }}</p>
45

56
## {{ T "community_learn" }}
67

78
{{ T "community_using" . }}
89

9-
{{ with index $links "user"}}
10+
{{ with index $links "user"}}
1011
{{ template "community-links-list" . }}
1112
{{ end }}
1213

1314
## {{ T "community_develop" }}
1415

1516
{{ T "community_contribute" . }}
1617

17-
{{ with index $links "developer"}}
18+
{{ with index $links "developer"}}
1819
{{ template "community-links-list" . }}
1920
{{ end }}
2021

21-
{{ T "community_how_to" . }}{{ T "community_guideline" }}.
22+
{{ T "community_how_to" . }}
23+
[{{ T "community_guideline" }}]({{ $contribUrl | relURL }}).
2224

23-
{{ define "community-links-list" -}}
25+
{{ define "community-links-list" -}}
2426
{{ range . }}
25-
26-
- [<i class="{{ .icon }}"></i> {{ .name }}]({{ .url }}): {{ .desc -}}
27-
{{ end -}}
27+
- [<i class="{{ .icon }}"></i> {{ .name }}]({{ .url }}): {{ .desc -}}
28+
{{ end -}}
2829
{{ end }}

0 commit comments

Comments
 (0)