1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 12:50:24 +01:00

link from table headers to legend terms

This commit is contained in:
Mike Linksvayer 2016-05-14 13:15:56 -07:00
parent 5ba84b2865
commit 825ea4edd3

View File

@ -19,7 +19,7 @@ All licenses described in the choosealicense.com [repository](https://github.com
{% continue %}
{% endif %}
{% capture seen_tags %}{{ seen_tags | append:rule_obj.tag }}{% endcapture %}
<th style="text-align: center; width:7%">{{ rule_obj.label }}</th>
<th style="text-align: center; width:7%"><a href="#{{ rule_obj.tag }}">{{ rule_obj.label }}</a></th>
{% endfor %}
{% endfor %}
</tr>
@ -71,7 +71,7 @@ All licenses described in the choosealicense.com [repository](https://github.com
{% if seen_tags contains req %}
{% continue %}
{% endif %}
<dt>{{ rule_obj.label }}</dt>
<dt id="{{ req }}">{{ rule_obj.label }}</dt>
{% capture seen_tags %}{{ seen_tags | append:req }}{% endcapture %}
{% for t in types %}
{% for r in site.data.rules[t] | sort: "label" %}