Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Markdown support for team members #403

Merged
merged 2 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _data/team/roles/code_of_conduct.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ tasks:
- Periodically review, revise and update current code of conduct procedures

current_members:
- Jenna Swarthout Goddard
- "[Jenna Swarthout Goddard](https://github.com/jennaswa)"
- Richard Gowers
- Micaela Matta
5 changes: 3 additions & 2 deletions _includes/team_table_member_cell.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@

{% assign all_members = leads | concat: members %}
{% assign sorted_names = all_members | sort %}
<!-- markdownify to allow markdown, but remove additional <p> tags this adds -->
{%- for member in sorted_names -%}
<!-- Bold the name if they're a lead -->
{%- if leads contains member -%}
<b>{{ member }}</b>
<b>{{ member | markdownify | strip_newlines | remove: '<p>' | remove: '</p>'}}</b>
{%- else -%}
{{ member }}
{{ member | markdownify | strip_newlines | remove: '<p>' | remove: '</p>'}}
{%- endif -%}
<!-- Add a comma if not the last item.
The % and %- denote leaving a space or not leaving a space
Expand Down
Loading