Skip to content

Commit 13b837e

Browse files
committed
Add credentials/index.json for remote listing.
Useful for projects that want to use the list of VC Examples in their own UX/tooling.
1 parent 3eb1629 commit 13b837e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/credentials/index.liquid

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
layout: false
3+
permalink: credentials/index.json
4+
---
5+
{
6+
{% for example in examples %}
7+
{{ example[0] | json }}: {
8+
"credential": "{{ example[0] | append: '/credential.json' }}",
9+
"queries": "{{ example[0] | append: '/queries.json' }}",
10+
"image": "{{ example[0] | append: '/image.png' }}"
11+
}
12+
{% if forloop.last == false %},{% endif %}
13+
{% endfor %}
14+
}

0 commit comments

Comments
 (0)