Set the sponsors table new row every 6 entries.

This copies the behaviour of the old script.
This commit is contained in:
Sammy Hori
2024-11-17 22:10:11 +00:00
parent 445e53bc48
commit 2deeb0e5e3

2
.github/README.j2 vendored
View File

@@ -21,7 +21,7 @@ Contributions are welcome! See the [contributing guidelines](CONTRIBUTING.md).
## Thanks to GitHub Sponsors
<table>{% for sponsor in sponsors %}<tr><td align="center"><a href="{{ sponsor.link }}"><img src="{{ sponsor.image }}" width="60px;" alt=""/><br/><sub><b>{{ sponsor.name }}</b></sub></a></td></tr>{% endfor %}</table>
<table><tr>{% for sponsor in sponsors %}{% if loop.index != 1 and (loop.index - 1) % 6 == 0 %}</tr><tr>{% endif %}<td align="center"><a href="{{ sponsor.link }}"><img src="{{ sponsor.image }}" width="60px;" alt=""/><br/><sub><b>{{ sponsor.name }}</b></sub></a></td>{% endfor %}</tr></table>
## License