diff --git a/docs/_includes/docs_contents.html b/docs/_includes/docs_contents.html index 7a966fc1..c5dd014e 100644 --- a/docs/_includes/docs_contents.html +++ b/docs/_includes/docs_contents.html @@ -11,11 +11,7 @@ {% if page.url contains p.url %}current{% endif %} {% endif %}"> - {% if p.menu_name %} - {{ p.menu_name }} - {% else %} - {{ p.title }} - {% endif %} + {{ p.menu_name | default: p.title }} {% endfor %} diff --git a/docs/_includes/docs_contents_mobile.html b/docs/_includes/docs_contents_mobile.html index 9e93db6f..8739a9c9 100644 --- a/docs/_includes/docs_contents_mobile.html +++ b/docs/_includes/docs_contents_mobile.html @@ -6,11 +6,7 @@ {% for item in section.docs %} {% assign p = site.documents | where: "url", item.link | first %} {% endfor %} diff --git a/docs/_includes/step-index.html b/docs/_includes/step-index.html index e05fd525..eb03b551 100644 --- a/docs/_includes/step-index.html +++ b/docs/_includes/step-index.html @@ -1,5 +1,3 @@ - - {% assign docs = site.docs | where_exp: "doc", "doc.url contains '/step-by-step/'" %} {% for tutorial in tutorials %}