{%- if list.size > 0 -%}
{%- endif -%}
-
{%- assign list = list | sort: 'label' %}
{%- for conf in list %}
{% assign active = false %}
{% if page.codes[0] == conf.codes[0] and page.title == conf.title %}{% assign active = true %}{% endif %}
- {% if conf.label %}{{ conf.label }}{% else %}{{ conf.name }}{% endif %} {%- if active -%}
- {{ opt.name }}
{%- if opt.subopts -%}
-
{%- for sub1 in opt.subopts -%}
- {{ sub1.name }}
{%- if sub1.subopts -%}
-
{% for sub2 in sub1.subopts -%}
- {{ sub2.name }}
{%- if sub2.subopts -%}
-
{%- for sub3 in sub2.subopts -%}
- {{ sub3.name }} {%- endfor =%}
{%- endfor -%}
{%- endfor -%}
- {{ sub2.name }}
{%- if sub2.subopts -%}
{%- endfor -%}
- {{ sub1.name }}
{%- if sub1.subopts -%}
-
{% for opt in conf.settings -%}
{%- assign conf = page %}{% include setting-info.html -%}