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

@@ -5,7 +5,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>Cliget Catalog</title> <title>Cliget Catalog</title>
<style> <style>
{% include 'styles.css' %} {% include 'styles.css' %}
table td:nth-child(1) {
text-align: center;
}
</style> </style>
</head> </head>
<body> <body>
@@ -24,7 +27,7 @@
<td> <td>
{%if "github" in o%}<a href="https://github.com/{{o.github}}">x</a>{%else%}&nbsp;{%endif%} {%if "github" in o%}<a href="https://github.com/{{o.github}}">x</a>{%else%}&nbsp;{%endif%}
</td> </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> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>

View File

@@ -1,6 +1,6 @@
. ./.venv/bin/activate . ./.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 brotli -f -q 11 -S br cliget.html
./upload.sh ./upload.sh