mirror of
https://github.com/documize/community.git
synced 2025-07-23 15:19:42 +02:00
Put in correct Github sub-section summary figures
This commit is contained in:
parent
d50aa23f34
commit
e737d278b9
6 changed files with 54 additions and 24 deletions
|
@ -17,7 +17,14 @@ const commitsTemplate = `
|
|||
{{if .HasAuthorStats}}
|
||||
|
||||
<h3>Contributors</h3>
|
||||
<p>There are 3 contributors across 6 repositories.</p>
|
||||
<p>
|
||||
There
|
||||
{{if eq 1 (len .AuthorStats)}}is{{else}}are{{end}}
|
||||
{{len .AuthorStats}}
|
||||
{{if eq 1 (len .AuthorStats)}}contributor{{else}}contributors{{end}}
|
||||
across {{.RepoCount}}
|
||||
{{if eq 1 .RepoCount}} repository. {{else}} repositories. {{end}}
|
||||
</p>
|
||||
<table class="contributor-table" style="width: 100%;">
|
||||
|
||||
<tbody class="github">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue