Skip to content

Commit

Permalink
🎨 Improve template format
Browse files Browse the repository at this point in the history
  • Loading branch information
Franck committed Jun 5, 2019
1 parent 2d8b2c2 commit d27649f
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions templates/default.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
<h1 align="center"><%= projectName %></h1>
<% if (projectDescription) { %>
> <%= projectDescription %><% } %>
<% if (authorName || authorTwitterUsername || authorGithubUsername) { %>

<% if (projectDescription) { -%>
> <%= projectDescription %>
<% } -%>
<% if (authorName || authorTwitterUsername || authorGithubUsername) { -%>
## πŸ‘€ Author
<% if (authorName) { %>**<%= authorName %>**<% } %>
<% if (authorTwitterUsername) { %>- Twitter πŸ‘‰[@<%= authorTwitterUsername %>](https://twitter.com/<%= authorTwitterUsername %>) <% } %>
<% if (authorGithubUsername) { %>- Github πŸ‘‰[@<%= authorGithubUsername %>](https://github.com/<%= authorGithubUsername %>) <% } %>
<% } %>
<% if (authorName) { %>
**<%= authorName %>**
<% } %>
<% if (authorTwitterUsername) { -%>
* Twitter πŸ‘‰[@<%= authorTwitterUsername %>](https://twitter.com/<%= authorTwitterUsername %>)
<% } -%>
<% if (authorGithubUsername) { -%>
* Github πŸ‘‰[@<%= authorGithubUsername %>](https://github.com/<%= authorGithubUsername %>)
<% } -%>
<% } -%>

0 comments on commit d27649f

Please sign in to comment.