From 67a0e1c6bb1b375a556c53ed19a4d80cd9ddd4b0 Mon Sep 17 00:00:00 2001 From: Landon Taylor Date: Thu, 12 Jun 2025 14:48:05 -0600 Subject: [PATCH] Improve section table --- layouts/tools/section.html | 99 +++++++++++++------------------------- 1 file changed, 34 insertions(+), 65 deletions(-) diff --git a/layouts/tools/section.html b/layouts/tools/section.html index 704b3a0..45215c2 100644 --- a/layouts/tools/section.html +++ b/layouts/tools/section.html @@ -41,15 +41,26 @@ Tool - Applications - Developers + License + {{ range $sortedPages }} - {{ .LinkTitle }} + + {{ if .Params.maintenance }} + {{ if in .Params.maintenance "Not Maintained" }} +
+ {{ .LinkTitle }} + +
+ {{ else }} + {{ .LinkTitle }} + {{ end }} + {{ end }} + {{ $sep := "" }} {{ range $key, $vals := .Params }} @@ -65,7 +76,7 @@ {{ $sep := "" }} {{ range $key, $vals := .Params }} - {{ if (in (slice "developers") $key) }} + {{ if (in (slice "licenses") $key) }} {{ $sep }} {{ range $i, $val := $vals }} {{ partial "term-link.html" (dict "name" $val "taxonomy" $key) }} @@ -74,70 +85,28 @@ {{ end }} {{ end }} + {{ end }} - + + +
+ + Black dot indicates tool has not been maintained recently +
+ {{ end }}