forked from yeoman/yeoman.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommunity-generators.html
49 lines (49 loc) · 2.09 KB
/
community-generators.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
layout: default
markdown: 0
class: discovery-page
---
<h1>Yeoman Generators</h1>
<section class="main">
<div id="loading">
<p>Loading generators...</p>
</div>
<div id="plugins-all"></div>
<div class="message" id="search-notfound">No matching generator found. Try something else.</div>
<p><small>This generator listing is automatically generated from the npm module database. In order for a Yeoman generator to be listed here, it must be published on npm with the "yeoman-generator" keyword and have a description.</small></p>
</section>
<script type="text/template" id="plugins-all-template">
<table class="table">
<caption>
<input style="display:none" class="search input-medium search-query" type="search" placeholder="Search in <%= modules.length %> generators..." autofocus>
</caption>
<thead>
<tr>
<th class="sort" data-sort="name">Name</th>
<th class="sort" data-sort="desc">Description</th>
<th class="sort" data-sort="author">Author</th>
<th class="sort" data-sort="modified">Last modified</th>
<th class="sort" data-sort="stars">Stars</th>
<th class="sort" data-sort="forks">Forks</th>
</tr>
</thead>
<tbody class="list">
<% _.each(modules, function (el) { %>
<% var name = el.name.replace('generator-', ''); %>
<% var keywords = el.keywords %>
<tr>
<td class="name"><a href="<%- el.website %>"><%- name %></a></td>
<td class="desc"><%- el.description %><div class="hidden"><%- keywords %></div></td>
<% if (el.ownerWebsite) { %>
<td class="author"><a href="<%- el.ownerWebsite %>"><%- el.owner %></a></td>
<% } else { %>
<td class="author"><%- el.owner %></td>
<% } %>
<td class="modified"><time datetime="<%- el.updated %>"><%- el.updated %></time></td>
<td class="stars"><%- el.stars %></td>
<td class="forks"><%- el.forks %></td>
</tr>
<% }); %>
</tbody>
</table>
</script>