summaryrefslogtreecommitdiffstats
path: root/scripts.dmp
blob: d80b6b4953a21f6173c73d3366216fd718b5c031 (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 changed 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 %}
};