Permalink
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (47 sloc) 1.65 KB
---
layout: default
title: People
---
<h1>People</h1>
<div id="peopleTable">
<ul>
{% assign sorted_people = site.people | sort: 'last-name' %}
{% for person in sorted_people %}
<li><a href="{{ person.url }}">{{ person.first-name }} {{ person.last-name }}</a></li>
{% endfor %}
</ul>
</div>
<!-- change number columns based on device -->
<script type="application/x-javascript">
if(navigator.userAgent.match(/android/i)) {
document.getElementById('peopleTable').style.columnCount = 1;
} else if(navigator.userAgent.match(/phone/i)) {
document.getElementById('peopleTable').style.columnCount = 1;
} else if(navigator.userAgent.match(/tablet/i)) {
document.getElementById('peopleTable').style.columnCount = 1;
} else if(navigator.userAgent.match(/ipad/i)) {
document.getElementById('peopleTable').style.columnCount = 1;
} else {
document.getElementById('peopleTable').style.columnCount = 4;
}
</script>
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "Organization",
"name": "BioSchemas Community",
"url": "http://bioschemas.org/",
"logo": "http://bioschemas.org/images/square_logo2.png",
"email": "community@bioschemas.org",
"member": [
{% for person in sorted_people %}
{
"@context": "http://schema.org/",
"@type": "Person",
"givenName": "{{ person.first-name }}",
"familyName": "{{ person.last-name }}"
{% if forloop.last == false %} }, {% else %} } {% endif %}
{% endfor %}
]
}
</script>