fix: template cannot be loaded from ejs file
This commit is contained in:
12
src/template.ts
Normal file
12
src/template.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
export default `# <%= username %> Awesome List [](https://github.com/sindresorhus/awesome)
|
||||
|
||||
## Table of Contents
|
||||
|
||||
<% for(let [language, repositories] of stars) { %>
|
||||
## <%= language %>
|
||||
|
||||
<% for(let repo of repositories) { %>- [<%= repo.full_name %>](<%= repo.html_url %>) - <%= repo.description %>
|
||||
<% } %>
|
||||
|
||||
<% } %>
|
||||
`;
|
Reference in New Issue
Block a user