Minor issues
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@
|
||||
<!-- <section> -->
|
||||
<!-- </section> -->
|
||||
|
||||
{{ $pages := shuffle (where site.RegularPages "Section" "tools") | first 20 }}
|
||||
{{ $pages := shuffle (where (where site.RegularPages "Section" "tools") "Params.maintenance" "intersect" (slice "Actively Maintained")) | first 20 }}
|
||||
<section>
|
||||
<h2>Try Something New</h2>
|
||||
<p><strong>Proudly featuring {{ len (where site.RegularPages "Section" "tools") }} tools and counting!</strong>
|
||||
|
||||
@@ -54,8 +54,8 @@
|
||||
{{ if .Params.maintenance }}
|
||||
{{ if in .Params.maintenance "Not Maintained" }}
|
||||
<div style="display: flex; align-items: center; gap: 8px;">
|
||||
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
||||
<span style="display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: rgb(128, 28, 28);"></span>
|
||||
<a href="{{ .RelPermalink }}" class="not-maintained">{{ .LinkTitle }}</a>
|
||||
<!-- <span style="display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: rgb(128, 28, 28);"></span> -->
|
||||
</div>
|
||||
{{ else }}
|
||||
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
||||
@@ -108,8 +108,8 @@
|
||||
</table>
|
||||
|
||||
<div style="display: flex; align-items: center; gap: 8px; margin: 1rem 0 0 0;">
|
||||
<span style="display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: rgb(128, 28, 28);"></span>
|
||||
<span style="color: rgb(128, 28, 28); font-size: 1rem;">Red dot indicates tool has not been updated or maintained recently</span>
|
||||
<!-- <span style="display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: rgb(128, 28, 28);"></span> -->
|
||||
<span class="not-maintained">Grey text indicates tool has not been updated or maintained recently</span>
|
||||
</div>
|
||||
<!-- <div style="display: flex; align-items: center; gap: 8px; margin: 0;">
|
||||
<span style="display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: rgb(143, 96, 15);"></span>
|
||||
|
||||
Reference in New Issue
Block a user