projects: show total number in brackets

This commit is contained in:
mappu 2020-05-24 18:39:32 +12:00
parent 2eb39cbeac
commit c655b10467

View File

@ -121,7 +121,7 @@ func (this *Application) Homepage(w http.ResponseWriter, r *http.Request) {
<option value="data-sort-mt">Recent updates</option>
</select>
<h2>Projects</h2>
<h2>Projects <small>(`+fmt.Sprintf("%d", len(repos))+`)</small></h2>
<table id="projtable-main" class="projtable">
`)
for _, repo := range repos {