This is an automated email from the ASF dual-hosted git repository. exceptionfactory pushed a commit to branch main-staging in repository https://gitbox.apache.org/repos/asf/nifi-site.git
commit 5e59099aaa7c62f7d17ed90c6b6bdc74ee701884 Author: Márton Szász <[email protected]> AuthorDate: Thu Feb 22 19:30:08 2024 +0100 exclude PMC from Committers list (#83) (cherry picked from commit 9d6b27e121aed433c57c674a2ce1d1b0c89ab8fb) --- content/community/_index.md | 2 +- themes/nifi/layouts/shortcodes/project-members.html | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/content/community/_index.md b/content/community/_index.md index 1a061298..0b6d68dc 100644 --- a/content/community/_index.md +++ b/content/community/_index.md @@ -31,7 +31,7 @@ members on a vote open for at least 72 hours. A Committer is considered inactive can be revoked by a unanimous vote of all the active PMC members, except the member in question if they are a PMC member. -{{< project-members project="nifi" >}} +{{< project-members project="nifi" exclude-project="nifi-pmc" >}} ## Contributors diff --git a/themes/nifi/layouts/shortcodes/project-members.html b/themes/nifi/layouts/shortcodes/project-members.html index bb5c7cc3..33b4ad59 100644 --- a/themes/nifi/layouts/shortcodes/project-members.html +++ b/themes/nifi/layouts/shortcodes/project-members.html @@ -6,6 +6,13 @@ {{- $project = . -}} {{- end -}} +{{ $members := index $groups $project }} + +{{- with .Get "exclude-project" -}} + {{ $excluded := index $groups . }} + {{ $members = complement $excluded $members }} +{{- end -}} + <table> <thead> <tr> @@ -14,7 +21,6 @@ </tr> </thead> <tbody> - {{ $members := index $groups $project }} {{- range $username := $members -}} {{ $name := index $people $username }} <tr>
