From c5dc4f00f1798b1cdaab2724bf7cc5bff9d2a13b Mon Sep 17 00:00:00 2001 From: "Justin W. Flory" Date: Sat, 17 Sep 2022 04:14:03 +0200 Subject: [PATCH] :bug: layouts(index): Show "team" type posts on index page (#174) This commit shows the "team" template type on the index page of the site. The use case for this change is so that the total cohorts view still appears when navigating to `/inventory/cohorts/` and it also appears as its own category on the site homepage alongside other topics. This contributes to unblocking unicef/inventory#136. Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index 177eb58..bebefd4 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -16,7 +16,7 @@

{{ i18n "topics_title" | safeHTML }}

{{ "" | safeHTML }} {{ range .Site.Pages }} - {{if or (eq .Type "docs") (eq .Type "dpg-standard")}} + {{ if or (eq .Type "docs") (eq .Type "dpg-standard") (eq .Type "team") }}