feat(plugins/sponsors): add plugin_sponsors_size (#1012) [skip ci]

This commit is contained in:
Simon Lecoq
2022-04-23 22:04:28 +02:00
committed by GitHub
parent 14f14d9f4d
commit 1061a2f542
5 changed files with 17 additions and 10 deletions

View File

@@ -46,7 +46,7 @@
</div>
<% if ((section === "list")||(plugins.sponsors.sections.includes("list"))) { %>
<div class="row">
<% for (const user of plugins.sponsors.list) { %><img class="avatar <%= user.type === "organization" ? "organization" : "" %> <%= user.past ? "past" : "" %>" src="<%= user.avatar %>" width="24" height="24" alt="" /><% } %>
<% for (const user of plugins.sponsors.list) { %><img class="avatar <%= user.type === "organization" ? "organization" : "" %> <%= user.past ? "past" : "" %>" src="<%= user.avatar %>" width="<%= plugins.sponsors.size %>" height="<%= plugins.sponsors.size %>" alt="" /><% } %>
</div>
<% } %>
</section>