diff --git a/_layouts/toc-type.html b/_layouts/toc-type.html index c2de0d9..3f061c2 100644 --- a/_layouts/toc-type.html +++ b/_layouts/toc-type.html @@ -73,7 +73,8 @@

{{ page.title {% endif %} - {% comment %}Prev/Next navigation{% endcomment %} + {% comment %}Prev/Next navigation — skip for top-level section landing pages{% endcomment %} + {% unless page.parent == "/" %} {% assign siblingPages = site.pages | where: "parent", page.parent | sort: "order" %} {% if siblingPages.size > 1 %} {% assign prevPage = nil %} @@ -107,6 +108,7 @@

{{ page.title {% endif %} {% endif %} + {% endunless %}