Skip to content

Commit

Permalink
✨ Improve author infos logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Franck committed Jun 4, 2019
1 parent 665303a commit 5d4cf6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
> Generate README file
## πŸ‘€ Author
**Franck Abgrall**
- Twitter πŸ‘‰[@FranckAbgrall](https://twitter.com/FranckAbgrall)
- Github πŸ‘‰[@kefranabg](https://twitter.com/kefranabg)

- Github πŸ‘‰[@ttest](https://twitter.com/ttest)
4 changes: 2 additions & 2 deletions templates/default.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<h1 align="center"><%= projectName %></h1>
<% if (projectDescription) { %>
> <%= projectDescription %><% } %>
<% if (authorName) { %>
<% if (authorName || authorTwitterUsername || authorGithubUsername) { %>
## πŸ‘€ Author
**<%= authorName %>**
<% if (authorName) { %>**<%= authorName %>**<% } %>
<% if (authorTwitterUsername) { %>- Twitter πŸ‘‰[@<%= authorTwitterUsername %>](https://twitter.com/<%= authorTwitterUsername %>) <% } %>
<% if (authorGithubUsername) { %>- Github πŸ‘‰[@<%= authorGithubUsername %>](https://twitter.com/<%= authorGithubUsername %>) <% } %>
<% } %>

0 comments on commit 5d4cf6f

Please sign in to comment.