diff --git a/appendix.md b/appendix.md index bcd148b..2f150cb 100644 --- a/appendix.md +++ b/appendix.md @@ -72,36 +72,24 @@ If you're here to choose a license, **[start from the home page](/)** to see a f

Most open source licenses also have limitations that usually disclaim warranty and liability, and sometimes expressly exclude patents or trademarks from licenses' grants.

-{% assign seen_tags = '' %} {% for type in types %} ### {% if type == "permissions" %}Permissions{% elsif type == "conditions" %}Conditions{% else %}Limitations{% endif %}
{% assign rules = site.data.rules[type] | sort: "label" %} {% for rule_obj in rules %} {% assign req = rule_obj.tag %} - {% if seen_tags contains req %} - {% continue %} - {% endif %}
{{ rule_obj.label }}
- {% capture seen_tags %}{{ seen_tags | append:req }}{% endcapture %} - {% for t in types %} - {% assign rs = site.data.rules[t] | sort: "label" %} - {% for r in rs %} - {% if r.tag == req %} - {% if r.tag contains "--" %} - {% assign lite = " lite" %} - {% else %} - {% assign lite = "" %} - {% endif %} -
- - - - {{ r.description }} -
- {% endif %} - {% endfor %} - {% endfor %} +
+ {% if req contains "--" %} + {% assign lite = " lite" %} + {% else %} + {% assign lite = "" %} + {% endif %} + + + + {{ rule_obj.description }} +
{% endfor %}
{% endfor %}