Skip to content

Commit

Permalink
Merge pull request #1258 from mschoettle/appendix-legend-headers
Browse files Browse the repository at this point in the history
Add rule type headers to legend
  • Loading branch information
mlinksva authored Nov 25, 2024
2 parents 05070e5 + 7ba9391 commit 62ec706
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 62ec706

Please sign in to comment.