Skip to content

Commit 62ec706

Browse files
authored
Merge pull request #1258 from mschoettle/appendix-legend-headers
Add rule type headers to legend
2 parents 05070e5 + 7ba9391 commit 62ec706

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

appendix.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,10 @@ If you're here to choose a license, **[start from the home page](/)** to see a f
7272

7373
<p>Most open source licenses also have <span class="license-limitations"><span class="license-sprite"></span></span> <b>limitations</b> that usually disclaim warranty and liability, and sometimes expressly exclude patents or trademarks from licenses' grants.</p>
7474

75-
<dl>
7675
{% assign seen_tags = '' %}
7776
{% for type in types %}
77+
### {% if type == "permissions" %}Permissions{% elsif type == "conditions" %}Conditions{% else %}Limitations{% endif %}
78+
<dl>
7879
{% assign rules = site.data.rules[type] | sort: "label" %}
7980
{% for rule_obj in rules %}
8081
{% assign req = rule_obj.tag %}
@@ -92,5 +93,5 @@ If you're here to choose a license, **[start from the home page](/)** to see a f
9293
{% endfor %}
9394
{% endfor %}
9495
{% endfor %}
96+
</dl>
9597
{% endfor %}
96-
</dl>

0 commit comments

Comments
 (0)