@@ -24,33 +24,33 @@ <h2>Transaction Authorization Improvement Proposals (TAIPs)</h2>
2424
2525 < h3 > Core TAIPs</ h3 >
2626 < div class ="taips-grid ">
27+ {% assign final_taips = site.pages | where_exp: "item", "item.path contains 'TAIPs/taip-'" | where: "status", "Final" | sort: 'taip' %}
28+ {% assign lastcall_taips = site.pages | where_exp: "item", "item.path contains 'TAIPs/taip-'" | where: "status", "Last Call" | sort: 'taip' %}
2729 {% assign review_taips = site.pages | where_exp: "item", "item.path contains 'TAIPs/taip-'" | where: "status", "Review" | sort: 'taip' %}
28- {% assign accepted_taips = site.pages | where_exp: "item", "item.path contains 'TAIPs/taip-'" | where: "status", "Accepted" | sort: 'taip' %}
29- {% assign draft_taips = site.pages | where_exp: "item", "item.path contains 'TAIPs/taip-'" | where: "status", "Draft" | sort: 'taip' %}
3030
31- {% comment %} Display Accepted TAIPs first {% endcomment %}
32- {% for taip in accepted_taips %}
31+ {% comment %} Display Final TAIPs first {% endcomment %}
32+ {% for taip in final_taips %}
3333 < div class ="taip-card ">
3434 < h4 > < a href ="{{ taip.url | relative_url }} "> TAIP-{{ taip.taip }}: {{ taip.title }}</ a > </ h4 >
35- < span class ="status-pill status-{{ taip.status | downcase }} "> {{ taip.status }}</ span >
35+ < span class ="status-pill status-{{ taip.status | downcase | replace: ' ', '-' }} "> {{ taip.status }}</ span >
3636 < p > {{ taip.description | default: "Defines a standard component of the Transaction Authorization Protocol." }}</ p >
3737 </ div >
3838 {% endfor %}
3939
40- {% comment %} Display Review TAIPs next {% endcomment %}
41- {% for taip in review_taips %}
40+ {% comment %} Display Last Call TAIPs next {% endcomment %}
41+ {% for taip in lastcall_taips %}
4242 < div class ="taip-card ">
4343 < h4 > < a href ="{{ taip.url | relative_url }} "> TAIP-{{ taip.taip }}: {{ taip.title }}</ a > </ h4 >
44- < span class ="status-pill status-{{ taip.status | downcase }} "> {{ taip.status }}</ span >
44+ < span class ="status-pill status-{{ taip.status | downcase | replace: ' ', '-' }} "> {{ taip.status }}</ span >
4545 < p > {{ taip.description | default: "Defines a standard component of the Transaction Authorization Protocol." }}</ p >
4646 </ div >
4747 {% endfor %}
4848
49- {% comment %} Display Draft TAIPs last {% endcomment %}
50- {% for taip in draft_taips %}
49+ {% comment %} Display Review TAIPs last {% endcomment %}
50+ {% for taip in review_taips %}
5151 < div class ="taip-card ">
5252 < h4 > < a href ="{{ taip.url | relative_url }} "> TAIP-{{ taip.taip }}: {{ taip.title }}</ a > </ h4 >
53- < span class ="status-pill status-{{ taip.status | downcase }} "> {{ taip.status }}</ span >
53+ < span class ="status-pill status-{{ taip.status | downcase | replace: ' ', '-' }} "> {{ taip.status }}</ span >
5454 < p > {{ taip.description | default: "Defines a standard component of the Transaction Authorization Protocol." }}</ p >
5555 </ div >
5656 {% endfor %}
0 commit comments