jekyll
Version:
A blog-aware, static site generator in Ruby
11 lines (10 loc) • 369 B
HTML
<div class="docs-nav-mobile unit whole show-on-mobiles">
<select onchange="if (this.value) window.location.href=this.value">
<option value="">Navigate the docs…</option>
{% for section in site.data.docs %}
<optgroup label="{{ section.title }}">
{% include docs_option.html items=section.docs %}
</optgroup>
{% endfor %}
</select>
</div>