Skip to content

Commit

Permalink
Add rule type headers to legend
Browse files Browse the repository at this point in the history
  • Loading branch information
mschoettle committed Nov 25, 2024
1 parent 05070e5 commit 7ba9391
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions appendix.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,10 @@ If you're here to choose a license, **[start from the home page](/)** to see a f

<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>

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

0 comments on commit 7ba9391

Please sign in to comment.