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

refactor: use people file for focus areas #808

Merged
merged 7 commits into from
May 5, 2021
Merged

Conversation

henryiii
Copy link
Collaborator

@henryiii henryiii commented May 5, 2021

This adds a quick conversion to people.focus-area, then applies this to the people files. Anyone who has given a presentation or is part of a project for a focus area was added. Users are expected to keep the focus areas up to date.

Closes #715

Probably could add a warning if focus-area is not present. Not sure if that will be all that motivating, though. Edit: added. Also sorted the keys (except for presentation, which is last).

@henryiii
Copy link
Collaborator Author

henryiii commented May 5, 2021

CC @davidlange6 @osg-cat

{% assign fa_team = sorted | map: "team" | flat_map | uniq | sort | hash_fetch: site.data.people | compact %}
{% assign fa_team = site.data.people | where_exp: "item", "item.focus-area contains page_focus_area" %}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was so pretty though! :)

@henryiii henryiii merged commit 804a682 into master May 5, 2021
@henryiii henryiii deleted the henryiii/users/fas branch May 5, 2021 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature request: add team members to focus area pages
1 participant