Simply couple of includes in the docs site (#7607)
Merge pull request 7607
This commit is contained in:
parent
c68ccedc21
commit
d6ece561b7
|
@ -11,11 +11,7 @@
|
|||
{% if page.url contains p.url %}current{% endif %}
|
||||
{% endif %}">
|
||||
<a href="{{ p.url }}">
|
||||
{% if p.menu_name %}
|
||||
{{ p.menu_name }}
|
||||
{% else %}
|
||||
{{ p.title }}
|
||||
{% endif %}
|
||||
{{ p.menu_name | default: p.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
|
|
@ -6,11 +6,7 @@
|
|||
{% for item in section.docs %}
|
||||
{% assign p = site.documents | where: "url", item.link | first %}
|
||||
<option value="{{ p.url }}">
|
||||
{% if p.menu_name %}
|
||||
{{ p.menu_name }}
|
||||
{% else %}
|
||||
{{ p.title }}
|
||||
{% endif %}
|
||||
{{ p.menu_name | default: p.title }}
|
||||
</option>
|
||||
{% endfor %}
|
||||
</optgroup>
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
{% assign docs = site.docs | where_exp: "doc", "doc.url contains '/step-by-step/'" %}
|
||||
|
||||
{% for tutorial in tutorials %}
|
||||
|
|
Loading…
Reference in New Issue