Skip to content

Commit

Permalink
Set the sponsors table new row every 6 entries.
Browse files Browse the repository at this point in the history
This copies the behaviour of the old script.
  • Loading branch information
sammyhori committed Nov 17, 2024
1 parent 445e53b commit 2deeb0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/README.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2deeb0e

Please sign in to comment.