mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 04:40:09 +01:00
caa47fb00c
* Move licenses to license template * Move home / about to page template * Move annotations to config file, included via annotations.js * Move license metadata to YML Front matter * Automate the presentation of license metadata * Move sidebar to include * Add _site to gitignore
11 lines
303 B
JavaScript
11 lines
303 B
JavaScript
---
|
|
---
|
|
var annotations = {
|
|
{% for type_hash in site.rules %}
|
|
"{{ type_hash[0] }}": {
|
|
{% for rule_hash in type_hash[1] %}
|
|
"{{ rule_hash[0] }}" : "{{ rule_hash[1].description }}"{% if forloop.rindex0 > 0 %},{% endif %}
|
|
{% endfor %}
|
|
}{% if forloop.rindex0 > 0 %},{% endif %}
|
|
{% endfor %}
|
|
} |