summaryrefslogtreecommitdiff
path: root/generator/sig_readme.tmpl
diff options
context:
space:
mode:
authorAaron Crickenberger <spiffxp@google.com>2019-03-20 10:59:17 -0700
committerAaron Crickenberger <spiffxp@google.com>2019-03-20 11:00:17 -0700
commit2e1518026be0bccfb2ecf5af2aa4b85317c293c3 (patch)
tree38968e1e2fdd1e6e8484fa553d68ef7881ba4251 /generator/sig_readme.tmpl
parent63dcb38987744129f45f3b636f2a545c0e1acd3e (diff)
Make subproject contacts optional, nest in display
Diffstat (limited to 'generator/sig_readme.tmpl')
-rw-r--r--generator/sig_readme.tmpl11
1 files changed, 7 insertions, 4 deletions
diff --git a/generator/sig_readme.tmpl b/generator/sig_readme.tmpl
index 6cc9ba7b..734c1512 100644
--- a/generator/sig_readme.tmpl
+++ b/generator/sig_readme.tmpl
@@ -68,16 +68,19 @@ The following subprojects are owned by sig-{{.Label}}:
{{- range .Owners }}
- {{.}}
{{- end }}
+{{- if .Contact }}
+ - Contact
{{- if .Contact.Slack }}
- - Slack: [#{{.Contact.Slack}}](https://kubernetes.slack.com/messages/{{.Contact.Slack}})
+ - Slack: [#{{.Contact.Slack}}](https://kubernetes.slack.com/messages/{{.Contact.Slack}})
{{- end }}
{{- if .Contact.MailingList }}
- - [Mailing List]({{.Contact.MailingList}})
+ - [Mailing List]({{.Contact.MailingList}})
{{- end }}
{{- if .Contact.GithubTeams }}
- - GitHub Teams:
+ - GitHub Teams:
{{- range .Contact.GithubTeams }}
- - [@kubernetes/{{.Name}}](https://github.com/orgs/kubernetes/teams/{{.Name}}) {{- if .Description }}({{.Description}}){{- end}}
+ - [@kubernetes/{{.Name}}](https://github.com/orgs/kubernetes/teams/{{.Name}}) {{- if .Description }}({{.Description}}){{- end}}
+{{- end }}
{{- end }}
{{- end }}
{{- if .Meetings }}