che-server/docs/_includes/docs_option.html

8 lines
321 B
HTML

{% include base.html %}
{% for item in include.items %}
{% assign layout_type = page.layout | prepend:"/" | append:"/" %}
{% assign item_url = item | prepend:"/docs/" | append:"/" %}
{% assign doc = site.docs | where: "url", item_url | first %}
<option value="{{ doc.url }}">{{ doc.title }}</option>
{% endfor %}