You've already forked pidcodes.github.com
mirror of
https://github.com/solokeys/pidcodes.github.com.git
synced 2026-03-11 17:14:52 -07:00
* Remove errant .DS_Store file * Ignore .DS_Store * Create a list of organisations * Add an org list * Show number of PIDs per org * Fix HTML issue, sort orgs by title * Try and fix the PID count * Try and fix issues * Try again to fix issues * Try yet again to fix issues * Correct the urlpart * Change to sort_natural, minor code tidy * Try and fix the sorting * Try again to fix the sorting * Remove debugging * Add a link to orgs page
16 lines
454 B
HTML
16 lines
454 B
HTML
{% include data.html %}
|
|
<table>
|
|
<thead>
|
|
<tr><th>Organisation</th><th>Number of PIDs</th></tr>
|
|
</thead>
|
|
{% assign sortedorgs = {{site.pages|where:"layout","org"|sort:"title"}} %}
|
|
{% for org in sortedorgs %}
|
|
{% assign urlparts = org.url|split:"/" %}
|
|
{% assign owner = urlparts[2] %}
|
|
<tr>
|
|
<th><a href="{{org.url}}">{{org.title}}</a></th>
|
|
<td>{{ pids | where:"owner",owner | size }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|