|
3 | 3 | <table> |
4 | 4 | <tr> |
5 | 5 | <th nowrap="nowrap">Template/Plugin</th><%# -%> |
6 | | - <% for (const [plugin, {name, icon}] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key)))) { %> |
| 6 | + <% for (const [plugin, {name, icon}] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key))&&(value.category !== "community"))) { %> |
7 | 7 | <th nowrap="nowrap" align="center" title="<%= name %>"><%= icon %></th><% } %> |
8 | 8 | </tr><%# -%> |
9 | 9 | <% for (const [template, {name, readme}] of Object.entries(templates).filter(([key, value]) => (value)&&(!["community"].includes(key)))) { %> |
10 | 10 | <tr> |
11 | 11 | <td nowrap="nowrap"><%- name %></td><%# -%> |
12 | | - <% for (const [plugin] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key)))) { %> |
| 12 | + <% for (const [plugin] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key))&&(value.category !== "community"))) { %> |
13 | 13 | <td nowrap="nowrap" align="center" data-plugin="<%= plugin %>"><%= {true:"✔️", false:"❌", embed:"✓"}[readme.compatibility[plugin]] %></td><% } %> |
14 | 14 | </tr><% } %> |
15 | 15 | <tr> |
16 | 16 | <td colspan="<%= Object.keys(plugins).length %>"></td> |
17 | 17 | </tr> |
18 | 18 | <tr> |
19 | 19 | <th nowrap="nowrap">Mode/Plugin</th><%# -%> |
20 | | - <% for (const [plugin, {name, icon}] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key)))) { %> |
| 20 | + <% for (const [plugin, {name, icon}] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key))&&(value.category !== "community"))) { %> |
21 | 21 | <th nowrap="nowrap" align="center" title="<%= name %>"><%= icon %></th><% } %> |
22 | 22 | </tr><%# -%> |
23 | 23 | <% for (const {mode, icon} of [{mode:"user", icon:"👤"}, {mode:"organization", icon:"👥"}, {mode:"repository", icon:"📓"}]) { %> |
24 | 24 | <tr> |
25 | 25 | <td nowrap="nowrap"><%= icon %> <%- `${mode.charAt(0).toLocaleUpperCase()}${mode.substring(1)}` %></td><%# -%> |
26 | | - <% for (const [plugin, {supports}] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key)))) {%> |
| 26 | + <% for (const [plugin, {supports}] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key))&&(value.category !== "community"))) {%> |
27 | 27 | <td nowrap="nowrap" align="center" data-plugin="<%= plugin %>"><%= supports.includes(mode) ? "✔️" : "❌" %></td><% } %> |
28 | 28 | </tr><% } %> |
29 | 29 | </table> |
|
0 commit comments