summaryrefslogtreecommitdiffstats
path: root/scripts.dmp
blob: 36622850942994f91bc2b8e76fb7ca965aa2a5fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
layout: nil
---

{% assign required_attributes = "filename modified version authors contact name description license" | split: ' ' %}
{% assign optional_attributes = "url commands note modules" | split: ' ' %}

$scripts = {
{% for script in site.data.scripts %}
	'{{ script.filename }}' => {
{% for attr in required_attributes %}
		'{{ attr }}' => '{{ script[attr] }}',{% endfor %}
{% for attr in optional_attributes %}{% if script contains attr %}
		'{{ attr }}' => '{{ script[attr] }}',{% endif %}{% endfor %}
	},
{% endfor %}
};