feat: change catalog page template

This commit is contained in:
2025-08-18 16:39:55 +02:00
parent 2b4a91bad4
commit 998fde9e50
2 changed files with 6 additions and 3 deletions

View File

@@ -6,6 +6,9 @@
<title>Cliget Catalog</title>
<style>
{% include 'styles.css' %}
table td:nth-child(1) {
text-align: center;
}
</style>
</head>
<body>
@@ -24,7 +27,7 @@
<td>
{%if "github" in o%}<a href="https://github.com/{{o.github}}">x</a>{%else%}&nbsp;{%endif%}
</td>
<td><p>{{o.desc}}</p></td>
<td><p>{%if "name" in o%}a.k.a "{{o.name}}"&nbsp;&hybull; {%endif%}{{o.desc}}</p></td>
</tr>
{% endfor %}
</tbody>

View File

@@ -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