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 contributors to FAQ page #2980

Merged
merged 5 commits into from
Nov 5, 2021
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
4 changes: 4 additions & 0 deletions CONTRIBUTORS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,10 @@ sarah-peter:
name: Sarah Peter
joined: 2018-09

saritadc:
name: Sarita Dangi
joined: 2021-10

sbenateau:
name: Simon Benateau
email: simon.benateau@mnhn.fr
Expand Down
16 changes: 12 additions & 4 deletions _layouts/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,18 @@
layout: page
---

{% assign contributors = site.data['contributors'] %}

<section class="tutorial">
{{ page.description }}
<hr>
{% if page.contributors %}
<div class="contributors-line">{{ locale['authors'] | default: "Authors" }}: {% include
_includes/contributor-list.html
contributors=page.contributors badge=true newcontributors=true %}</div>
{% endif %}

{{ page.description }}
<hr>

{{content | regex_replace: '<hr.*—<\/p>', '' }}
{{content | regex_replace: '<hr.*—<\/p>', '' }}

</section>
</section>