1 | <% if(logo) { %><img width="710px" src="<%= logo %>" alt="pm2 logo" /> <% } %>
|
2 | <% if(logo) { %># <%= title %> <% } %>
|
3 | <% if(intro) { %><%= '\n' %><%= intro %><%= '\n' %><% } %>
|
4 | <% if(version && (version.name || version.number)) { %>##<% if(version.name){%> <%= version.name %><% } %> <% if(version.date){ %>( <%= version.date %> )<% } %><%= '\n' %><% } %>
|
5 | <% _.forEach(sections, function(section){
|
6 | if(section.commitsCount > 0) { %>
|
7 | ## <%= section.title %>
|
8 | <% _.forEach(section.commits, function(commit){ %> - <%= printCommit(commit, true) %><% }) %>
|
9 | <% _.forEach(section.components, function(component){ %> - **<%= component.name %>**
|
10 | <% _.forEach(component.commits, function(commit){ %> - <%= printCommit(commit, true) %><% }) %>
|
11 | <% }) %>
|
12 | <% } %>
|
13 | <% }) %>
|