From 998fde9e50ca9ab70468c64fa3714f0507edf607 Mon Sep 17 00:00:00 2001 From: setop Date: Mon, 18 Aug 2025 16:39:55 +0200 Subject: [PATCH] feat: change catalog page template --- catalog.html.j2 | 7 +++++-- cmd.txt | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/catalog.html.j2 b/catalog.html.j2 index 1a84fb6..ce735e0 100644 --- a/catalog.html.j2 +++ b/catalog.html.j2 @@ -5,7 +5,10 @@ Cliget Catalog @@ -24,7 +27,7 @@ {%if "github" in o%}x{%else%} {%endif%} -

{{o.desc}}

+

{%if "name" in o%}a.k.a "{{o.name}}" ⁃ {%endif%}{{o.desc}}

{% endfor %} diff --git a/cmd.txt b/cmd.txt index 443ef22..7f0fdd3 100644 --- a/cmd.txt +++ b/cmd.txt @@ -1,6 +1,6 @@ . ./.venv/bin/activate -jinja2 catalog.html.j2 catalog.yaml >| cliget.html +yq e -o=json catalog.yaml | jinja2 catalog.html.j2 - >| cliget.html brotli -f -q 11 -S br cliget.html ./upload.sh