forked from 2factorauth/twofactorauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
data.json
19 lines (19 loc) · 1 KB
/
data.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
---
{
{% for section in site.data.sections %}
{% assign section_file = site.data[section.id] %}
"{{ section.title }}": {
{% for website in section_file.websites %}
"{{ website.name }}": {
{%for tag in website %}
{%if tag[0] != "exceptions"%}"{{ tag[0] }}": {% if tag[1] == true or tag[1] == false %}{{tag[1]}}{%else%}"{{ tag[1] }}"{%endif%}{%else%}"{{ tag[0] }}": {
{% for exception in tag[1] %}
"{{ exception[0] }}": "{{ exception[1] }}"{%if forloop.last != true%},{%endif%}
{%endfor%}}{%endif%}{%if forloop.last != true%},{%endif%}
{%endfor%}
}{% if forloop.last != true %},{% endif %}
{% endfor %}
}{% if forloop.last != true %},{% endif %}
{% endfor %}
}