1
0
mirror of https://github.com/github/choosealicense.com synced 2024-06-30 23:53:02 +02:00
choosealicense.com/javascripts/annotations.js
Benjamin J. Balter caa47fb00c First pass at Jekylification
* 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
2013-05-21 15:17:07 -07:00

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