<%for (const [year, yearMap] of sharesMaps) {%>
<%for (const [month, monthItems] of yearMap) {%>
<%for (let index = 0; index < monthItems.length; index++) {%>
<%const share = monthItems[index]%>
<%total = total -1%>
<%if(share.source && share.source.from){%>
<%}%>
<%}%>
<%}%>
<%:=API.Common.formatContent(share.nickname, 'HTML', false, false, false, false, true)%>
分享<%:=API.Shares.getDisplayType(share.type)%>
<%:=API.Utils.formatDate(share.shareTime)%>
- <%if(share.source.from.name){%> 来自<%:=share.source.from.name%> <%}%> 共分享<%:=share.source.count%>次
<%:=share.likeTotal || 0 %>
<%:=share.custom_visitor && share.custom_visitor.viewCount || 0 %>
#<%:=total + 1 %>