From c3cc0ba70c402848cf55774dc44555539b1aad78 Mon Sep 17 00:00:00 2001 From: Kevin Heis Date: Tue, 18 May 2021 07:14:31 -0700 Subject: [PATCH] Visually reflect structure of articles and map topics within categories displayed in "All docs" section of landing pages (#19377) --- includes/all-articles-category.html | 9 +++++++-- includes/all-articles-product.html | 7 +++++-- includes/category-articles-list.html | 6 ++++++ includes/product-articles-list.html | 6 ++++++ 4 files changed, 24 insertions(+), 4 deletions(-) diff --git a/includes/all-articles-category.html b/includes/all-articles-category.html index 10bbc092c8..de42784796 100644 --- a/includes/all-articles-category.html +++ b/includes/all-articles-category.html @@ -16,8 +16,13 @@ {% assign article = xarticle[1] %}
  • - {{ article.title }} - + {{ article.title }} + {% comment %} + + • {{ article.childArticles | obj_size }} articles + + {% endcomment %}
  • {% endfor %} {% assign numArticles = maptopic.childArticles | obj_size %} diff --git a/includes/all-articles-product.html b/includes/all-articles-product.html index ce50a4825b..0643ef32bd 100644 --- a/includes/all-articles-product.html +++ b/includes/all-articles-product.html @@ -17,8 +17,11 @@ {% assign numArticles = category[1].maptopics | obj_size %}
  • - {{ maptopic[1].title }} - + {{ maptopic[1].title }} + + • {{ maptopic[1].articles | obj_size }} articles +
  • {% if numArticles > maxArticles %} diff --git a/includes/category-articles-list.html b/includes/category-articles-list.html index 6347327a52..c748a5f65f 100644 --- a/includes/category-articles-list.html +++ b/includes/category-articles-list.html @@ -32,3 +32,9 @@ {% endfor %} + +{% comment %} + + • {{ article.childArticles | obj_size }} articles + +{% endcomment %} diff --git a/includes/product-articles-list.html b/includes/product-articles-list.html index a2a981c3fe..00a10950e4 100644 --- a/includes/product-articles-list.html +++ b/includes/product-articles-list.html @@ -44,3 +44,9 @@ {% endfor %} + +{% comment %} + + • {{ article.childArticles | obj_size }} articles + +{% endcomment %}