mirror of
https://github.com/documize/community.git
synced 2025-07-23 23:29:42 +02:00
github for single repos only, with selectable sub-sections
This commit is contained in:
parent
7bf9901c9a
commit
6e362c0eac
10 changed files with 104 additions and 28 deletions
|
@ -13,6 +13,7 @@ package github
|
|||
|
||||
const commitsTemplate = `
|
||||
<div class="section-github-render">
|
||||
<!--
|
||||
{{if .HasAuthorStats}}
|
||||
<div class="heading">Contributors</div>
|
||||
<p>
|
||||
|
@ -58,12 +59,13 @@ const commitsTemplate = `
|
|||
</tbody>
|
||||
</table>
|
||||
{{end}}
|
||||
-->
|
||||
|
||||
{{if .HasCommits}}
|
||||
<div class="heading">Commits</div>
|
||||
<p>There are {{len .BranchCommits}} commits by {{.NumContributors}} contributors across {{.RepoCount}}
|
||||
<!-- <p>There are {{len .BranchCommits}} commits by {{.NumContributors}} contributors across {{.RepoCount}}
|
||||
{{if eq 1 .RepoCount}} repository. {{else}} repositories. {{end}}
|
||||
</p>
|
||||
</p> -->
|
||||
<div class="margin-top-20"></div>
|
||||
<table class="github-table">
|
||||
<tbody>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue