From c1a26ee217ccf244c34eef5370594b5d5f4ea931 Mon Sep 17 00:00:00 2001 From: Danila Date: Tue, 15 Jul 2025 12:20:58 -0700 Subject: [PATCH] It is possible to add packages with no icons to the main page Packages names can also be capitalized now as their names will be converted to lowercase to fetch the correct icon files based on the package name. --- content/_index.md | 1 + layouts/partials/main/packages.html | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/content/_index.md b/content/_index.md index 4418af9f..bdffb6c8 100644 --- a/content/_index.md +++ b/content/_index.md @@ -48,6 +48,7 @@ description = "Foundational tools for single-cell omics data analysis" name = "SnapATAC2" description = "Single-cell ATAC analysis framework" url = "https://scverse.org/SnapATAC2/" + no_icon = true [[packages]] name = "rapids-singlecell" diff --git a/layouts/partials/main/packages.html b/layouts/partials/main/packages.html index 83af9543..9feebd1f 100644 --- a/layouts/partials/main/packages.html +++ b/layouts/partials/main/packages.html @@ -8,7 +8,11 @@
- Logo for {{ .name }} + {{ if not .no_icon }} + Logo for {{ .name }} + {{ else }} + + {{ end }}