Skip to content

Commit

Permalink
add status anchors
Browse files Browse the repository at this point in the history
  • Loading branch information
hanniabu committed May 17, 2024
1 parent d43a39d commit e88c28b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions _includes/eiptable.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@
width: 33%;
}
</style>

{% assign statuses = include.eips | map: "status" %}
{% for status in statuses %}
{% if forloop.last %}
<a href="#{{status|slugify}}">{{status}}</a><br><br>
{% else %}
<a href="#{{status|slugify}}">{{status}}</a> |&nbsp;
{% endif %}
{% endfor %}

{% for status in site.data.statuses %}
{% assign eips = include.eips|where:"status",status|sort:"eip" %}
{% assign count = eips|size %}
Expand Down

0 comments on commit e88c28b

Please sign in to comment.