@@ -70,20 +70,27 @@
70 {% set index = get_section(path="docs/_index.md") %}
70 {% set index = get_section(path="docs/_index.md") %}
71 {% for s in index.subsections %}
71 {% for s in index.subsections %}
72 {% set subsection = get_section(path=s) %}
72 {% set subsection = get_section(path=s) %}
73 <option>{{ subsection.title }}</option>
74 <option>{{ subsection.title }}</option>
74 {% if subsection.pages %}
76 {% if subsection.pages %}
75 {% for page in subsection.pages %}
77 {% for page in subsection.pages %}
76 <option value="{{ page.permalink }}">{{ page.title }}</option>
78 <option value="{{ page.permalink }}">{{ page.title }}</option>
77 {% endfor %}
79 {% endfor %}
78 {% for y in subsection.subsections %}
80 {% for y in subsection.subsections %}
79 {% set subsubsection = get_section(path=y) %}
81 {% set subsubsection = get_section(path=y) %}
83+ <option>{{ subsubsection.title }}</option>
80 {% if subsubsection.pages %}
85 {% if subsubsection.pages %}
81 {% for page in subsubsection.pages %}
86 {% for page in subsubsection.pages %}
82 <option value="{{ page.permalink }}">{{ page.title }}</option>
87 <option value="{{ page.permalink }}">{{ page.title }}</option>
83 {% endfor %}
88 {% endfor %}
84 {% for x in subsubsection.subsections %}
89 {% for x in subsubsection.subsections %}
85 {% set subsubsubsection = get_section(path=x) %}
90 {% set subsubsubsection = get_section(path=x) %}
86 <option>{{ subsubsubsection.title }}</option>
92 <option>{{ subsubsubsection.title }}</option>
87 {% if subsubsubsection.pages %}
94 {% if subsubsubsection.pages %}
88 {% for page in subsubsubsection.pages %}
95 {% for page in subsubsubsection.pages %}
89 <option value="{{ page.permalink }}">{{ page.title }}</option>
96 <option value="{{ page.permalink }}">{{ page.title }}</option>