зеркало из https://github.com/github/mlops.git
Merge pull request #21 from machine-learning-apps/enable-docs
fix sidebar
This commit is contained in:
Коммит
25d623191d
|
@ -20,7 +20,7 @@
|
||||||
<a class="aside_nav_link {% if page.title == child.title %} active{% endif %}" href="{{child.url}}">{{child.title}}</a>
|
<a class="aside_nav_link {% if page.title == child.title %} active{% endif %}" href="{{child.url}}">{{child.title}}</a>
|
||||||
|
|
||||||
{%- if child.has_children -%}
|
{%- if child.has_children -%}
|
||||||
<span class="toggle_sub rot180"> ^</span>
|
<span class="toggle_sub rot90">▸</span>
|
||||||
{%- assign father_name = child.title -%}
|
{%- assign father_name = child.title -%}
|
||||||
{%- assign grandfather_name = item.title -%}
|
{%- assign grandfather_name = item.title -%}
|
||||||
{% assign grandsons = site.docs | where: "parent", father_name | where: "grand_parent", grandfather_name %}
|
{% assign grandsons = site.docs | where: "parent", father_name | where: "grand_parent", grandfather_name %}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче